diff options
author | Gennadiy Civil <misterg@google.com> | 2018-03-05 18:28:13 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-03-05 18:28:13 (GMT) |
commit | dbf63e38a4ebf2f5210648d82641ea304407e993 (patch) | |
tree | 13649c78c28b7eda0d5a0d6232ea9b3749cded82 /googlemock/src/gmock.cc | |
parent | a518bd5cf27f723cd1c2249287d43e3a7bb016c1 (diff) | |
download | googletest-dbf63e38a4ebf2f5210648d82641ea304407e993.zip googletest-dbf63e38a4ebf2f5210648d82641ea304407e993.tar.gz googletest-dbf63e38a4ebf2f5210648d82641ea304407e993.tar.bz2 |
merges-2
Diffstat (limited to 'googlemock/src/gmock.cc')
-rw-r--r-- | googlemock/src/gmock.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/src/gmock.cc b/googlemock/src/gmock.cc index 3c37051..2308168 100644 --- a/googlemock/src/gmock.cc +++ b/googlemock/src/gmock.cc @@ -136,8 +136,8 @@ static bool ParseGoogleMockIntFlag(const char* str, const char* flag, if (value_str == NULL) return false; // Sets *value to the value of the flag. - *value = atoi(value_str); - return true; + return ParseInt32(Message() << "The value of flag --" << flag, + value_str, value); } // The internal implementation of InitGoogleMock(). |