From 93778eccbb5e3b3ef7a6ec6882ea19e62fa3b44b Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Sat, 7 Jul 2012 18:29:55 +0200 Subject: [PATCH] Compile fix for g++ 4.7 --- indra/llcommon/llstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp index f9128b574..e1641c8cc 100644 --- a/indra/llcommon/llstring.cpp +++ b/indra/llcommon/llstring.cpp @@ -1401,7 +1401,7 @@ void LLStringUtilBase::testHarness() s2.erase( 4, 1 ); llassert( s2 == "hell"); - s2.insert( 0, 'y' ); + s2.insert( 0, std::string('y') ); llassert( s2 == "yhell"); s2.erase( 1, 3 ); llassert( s2 == "yl");