Skip to content

Commit

Permalink
Merge pull request #217 from andlaus/fix_gcc_4_4
Browse files Browse the repository at this point in the history
parser integration test: use std::istream as a template argument for std::shared_ptr
  • Loading branch information
joakim-hove committed May 20, 2014
2 parents 6d726c4 + f83a8ca commit 5a097b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opm/parser/eclipse/IntegrationTests/IntegrationTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 5a097b3

Please sign in to comment.