aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2010-03-17 00:08:06 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2010-03-17 00:08:06 +0000
commita6978ecb4cbab44fc0fe0be81796f95d02e9e4a2 (patch)
tree10c19a56c9c5f91e71b6263c0b4d34189f405adb /include
parenta2534cb7a5945fb7e15f32e9d06762e5a78ca3a1 (diff)
downloadgoogletest-a6978ecb4cbab44fc0fe0be81796f95d02e9e4a2.tar.gz
googletest-a6978ecb4cbab44fc0fe0be81796f95d02e9e4a2.tar.bz2
googletest-a6978ecb4cbab44fc0fe0be81796f95d02e9e4a2.zip
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).
Diffstat (limited to 'include')
-rw-r--r--include/gtest/internal/gtest-param-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gtest/internal/gtest-param-util.h b/include/gtest/internal/gtest-param-util.h
index a3d67a4e..f84bc02d 100644
--- a/include/gtest/internal/gtest-param-util.h
+++ b/include/gtest/internal/gtest-param-util.h
@@ -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.