diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-12-23 00:13:23 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-12-23 00:13:23 +0000 |
commit | 32de5f53763125925e078498250f7e73a88de9ed (patch) | |
tree | cb5de0206e38598a12f10403de146faadcf9cdb0 /test/gmock-port_test.cc | |
parent | 284b54d3047254a8787e4f5eb9ba62a866caaabd (diff) | |
download | googletest-32de5f53763125925e078498250f7e73a88de9ed.tar.gz googletest-32de5f53763125925e078498250f7e73a88de9ed.tar.bz2 googletest-32de5f53763125925e078498250f7e73a88de9ed.zip |
Fixes a slew of compiler warnings and turns on "warning as error" in the scons build.
Diffstat (limited to 'test/gmock-port_test.cc')
-rw-r--r-- | test/gmock-port_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/gmock-port_test.cc b/test/gmock-port_test.cc index b2afb932..054313b7 100644 --- a/test/gmock-port_test.cc +++ b/test/gmock-port_test.cc @@ -85,7 +85,7 @@ class Castable { } private: - bool* const converted_; + bool* converted_; }; TEST(ImplicitCastTest, CanUseNonConstCastOperator) { @@ -104,7 +104,7 @@ class ConstCastable { } private: - bool* const converted_; + bool* converted_; }; TEST(ImplicitCastTest, CanUseConstCastOperatorOnConstValues) { @@ -128,8 +128,8 @@ class ConstAndNonConstCastable { } private: - bool* const converted_; - bool* const const_converted_; + bool* converted_; + bool* const_converted_; }; TEST(ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately) { |