diff options
author | Jonny007-MKD <me@jonny007-mkd.de> | 2018-09-23 13:46:47 (GMT) |
---|---|---|
committer | Jonny007-MKD <me@jonny007-mkd.de> | 2018-09-23 13:46:47 (GMT) |
commit | cecea92af84a978479a9d875500edf0ee7b8aef3 (patch) | |
tree | d6a35966bea7bab2788e33da70dfac10dad63b4c /googletest/include/gtest/internal | |
parent | 1cb10b357a8a96b54ae60d4103918892f58d7fb3 (diff) | |
download | googletest-cecea92af84a978479a9d875500edf0ee7b8aef3.zip googletest-cecea92af84a978479a9d875500edf0ee7b8aef3.tar.gz googletest-cecea92af84a978479a9d875500edf0ee7b8aef3.tar.bz2 |
Rename private member of AdditionalMessage
Shorten lines in unit tests
Diffstat (limited to 'googletest/include/gtest/internal')
-rw-r--r-- | googletest/include/gtest/internal/gtest-internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index 0dbf100..7a896ab 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -1192,14 +1192,14 @@ class NativeArray { class AdditionalMessage { public: - AdditionalMessage(const char* message) : value(message) {} - void set(const std::string& message) { value = message; } + AdditionalMessage(const char* message) : msg(message) {} + void set(const std::string& message) { msg = message; } operator bool() const { return true; } - const std::string& get() const { return value; } + const std::string& get() const { return msg; } private: - std::string value; + std::string msg; }; } // namespace internal |