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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user