parser integration test: use std::istream as a template argument for std::shared_ptr

gcc 4.4 has problems with such implicit conversions...
This commit is contained in:
Andreas Lauser
2014-05-20 13:27:37 +02:00
parent 0d92cd43b0
commit d71cb1aa51

View File

@@ -77,7 +77,7 @@ BOOST_AUTO_TEST_CASE(parse_streamWithWWCTKeyword_deckReturned) {
"WWCT\n"
" 'WELL-1' 'WELL-2' / -- Rumpelstilzchen\n"
"/\n";
std::shared_ptr<std::istringstream> wwctStream(new std::istringstream(wwctString));
std::shared_ptr<std::istream> wwctStream(new std::istringstream(wwctString));
ParserPtr parser = createWWCTParser();
BOOST_CHECK( parser->canParseKeyword("WWCT"));