commit | b3371cdf5e6f8a9286a56fb94d70278be6f64276 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jan 27 07:35:27 2011 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jan 27 07:35:27 2011 +0000 |
tree | d15a6da54830abda69afef9d547bf11a5b27c904 | |
parent | adf9c8b0e7e7365a172e3c452dfe108f31d9a387 [diff] [blame] |
Don't infinitely recurse! Patch by Marius Wachtler! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124366 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp index 7e4d0dc..5731e4a 100644 --- a/unittests/ADT/StringRefTest.cpp +++ b/unittests/ADT/StringRefTest.cpp
@@ -16,7 +16,7 @@ namespace llvm { std::ostream &operator<<(std::ostream &OS, const StringRef &S) { - OS << S; + OS << S.str(); return OS; }