Minor change to simgear/io/iostreams/zlibstream_test.cxx

This commit is contained in:
Florent Rougon
2017-02-25 11:29:39 +01:00
parent 46f39d5fbd
commit 4b010cc416

View File

@@ -632,7 +632,7 @@ void test_RoundTripMultiWithIStreams()
// doesn't have to worry about the lifetime of said data source (here, an
// std::istringstream instance).
std::unique_ptr<simgear::ZlibCompressorIStream>
IStreamConstructorWithSinkSemantics_compressorFactory(string str)
IStreamConstructorWithSinkSemantics_compressorFactory(const string& str)
{
std::unique_ptr<std::istringstream> iss(new std::istringstream(str));