summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal
diff options
context:
space:
mode:
authorJonny007-MKD <me@jonny007-mkd.de>2018-09-23 13:46:47 (GMT)
committerJonny007-MKD <me@jonny007-mkd.de>2018-09-23 13:46:47 (GMT)
commitcecea92af84a978479a9d875500edf0ee7b8aef3 (patch)
treed6a35966bea7bab2788e33da70dfac10dad63b4c /googletest/include/gtest/internal
parent1cb10b357a8a96b54ae60d4103918892f58d7fb3 (diff)
downloadgoogletest-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.h8
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