From a6978ecb4cbab44fc0fe0be81796f95d02e9e4a2 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Wed, 17 Mar 2010 00:08:06 +0000 Subject: 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). --- include/gtest/internal/gtest-param-util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/gtest/internal/gtest-param-util.h') 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 { private: Iterator(const Iterator& other) - : base_(other.base_), value_(other.value_), index_(other.index_), + : ParamIteratorInterface(), + base_(other.base_), value_(other.value_), index_(other.index_), step_(other.step_) {} // No implementation - assignment is unsupported. -- cgit v1.2.3