diff options
author | Kyle Erf <erf@mongodb.com> | 2013-09-30 12:03:40 -0400 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2013-09-30 13:35:13 -0400 |
commit | b81f8287901093ee883926358817488b5a45e247 (patch) | |
tree | 03fcbaa03f8a40390180def7af94edf398c734eb /src/mongo/util | |
parent | 7e57c5311b0b660cf2df6d3c2cd01245adbafe21 (diff) | |
download | mongo-b81f8287901093ee883926358817488b5a45e247.tar.gz |
SERVER 10950 Fixed C++11 build failure
Replaced implicit boolean conversion with call to ios.good()
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Diffstat (limited to 'src/mongo/util')
-rw-r--r-- | src/mongo/util/processinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/processinfo.cpp b/src/mongo/util/processinfo.cpp index fd18180c743..a963ea395c4 100644 --- a/src/mongo/util/processinfo.cpp +++ b/src/mongo/util/processinfo.cpp @@ -38,7 +38,7 @@ namespace mongo { path = p; ofstream out( path.c_str() , ios_base::out ); out << ProcessId::getCurrent() << endl; - return out; + return out.good(); } string path; |