Fixes a -Wextra warning in gtest-param-util.h and updates the cmake script to verify it (by Zhanyong Wan); adds support for hermetic build to the cmake script (by Vlad Losev).

This commit is contained in:
zhanyong.wan
2010-03-17 00:08:06 +00:00
parent a2534cb7a5
commit a6978ecb4c
2 changed files with 42 additions and 11 deletions

View File

@@ -247,7 +247,8 @@ class RangeGenerator : public ParamGeneratorInterface<T> {
private:
Iterator(const Iterator& other)
: base_(other.base_), value_(other.value_), index_(other.index_),
: ParamIteratorInterface<T>(),
base_(other.base_), value_(other.value_), index_(other.index_),
step_(other.step_) {}
// No implementation - assignment is unsupported.