diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-03-17 00:08:06 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-03-17 00:08:06 +0000 |
commit | a6978ecb4cbab44fc0fe0be81796f95d02e9e4a2 (patch) | |
tree | 10c19a56c9c5f91e71b6263c0b4d34189f405adb /include/gtest/internal/gtest-param-util.h | |
parent | a2534cb7a5945fb7e15f32e9d06762e5a78ca3a1 (diff) | |
download | googletest-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/gtest/internal/gtest-param-util.h')
-rw-r--r-- | include/gtest/internal/gtest-param-util.h | 3 |
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. |