Compile fix for g++ 4.7

This commit is contained in:
Aleric Inglewood
2012-07-07 18:29:55 +02:00
parent f46d8e8a10
commit 93778eccbb

View File

@@ -1401,7 +1401,7 @@ void LLStringUtilBase<T>::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");