summaryrefslogtreecommitdiff
path: root/include/gtest/internal/gtest-param-util.h
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
commit17147ffac2fc18a805397c269eba458ad429fbd9 (patch)
tree10c19a56c9c5f91e71b6263c0b4d34189f405adb /include/gtest/internal/gtest-param-util.h
parent77ee7295b1549900a1118606a2f7466a1e0eac48 (diff)
downloadgtest-17147ffac2fc18a805397c269eba458ad429fbd9.tar.gz
gtest-17147ffac2fc18a805397c269eba458ad429fbd9.tar.bz2
gtest-17147ffac2fc18a805397c269eba458ad429fbd9.tar.xz
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).
git-svn-id: http://googletest.googlecode.com/svn/trunk@394 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'include/gtest/internal/gtest-param-util.h')
-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 a3d67a4..f84bc02 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.