Fixes compiler warning when built with -std=c++0x.
This commit is contained in:
@@ -945,8 +945,8 @@ Message& Message::operator <<(const ::wstring& wstr) {
|
||||
AssertionResult::AssertionResult(const AssertionResult& other)
|
||||
: success_(other.success_),
|
||||
message_(other.message_.get() != NULL ?
|
||||
new internal::String(*other.message_) :
|
||||
static_cast<internal::String*>(NULL)) {
|
||||
new ::std::string(*other.message_) :
|
||||
static_cast< ::std::string*>(NULL)) {
|
||||
}
|
||||
|
||||
// Returns the assertion's negation. Used with EXPECT/ASSERT_FALSE.
|
||||
|
||||
Reference in New Issue
Block a user