Fix unintentional use of operator bool.
authorJohn McCall <rjmccall@apple.com>
Wed, 2 May 2012 05:39:10 +0000 (05:39 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 2 May 2012 05:39:10 +0000 (05:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155978 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/ToolRunner.cpp

index 25a2baef7dc84e21940095c4b6dc7a0c0a60f27c..d975d68d96977cf627de68a3a1aab04e6777c8c2 100644 (file)
@@ -128,7 +128,7 @@ static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath,
       ErrorFile.close();
     }
 
-    errs() << OS;
+    errs() << OS.str();
   }
 
   return ReturnCode;