mirror of
https://github.com/google/googletest.git
synced 2025-12-02 22:09:01 +08:00
Try to fix gcc and clang issues
This commit is contained in:
@@ -1192,7 +1192,7 @@ class NativeArray {
|
||||
class AdditionalMessage
|
||||
{
|
||||
public:
|
||||
AdditionalMessage(const std::string& message) : value(message) {}
|
||||
AdditionalMessage(const char* message) : value(message) {}
|
||||
AdditionalMessage& operator=(const std::string& message) { value = message; return *this; }
|
||||
operator bool() const { return ::testing::internal::AlwaysTrue(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user