From d71cb1aa51457c848e1c5df99aa677ac3aaa6d7c Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 20 May 2014 13:27:37 +0200 Subject: [PATCH] parser integration test: use std::istream as a template argument for std::shared_ptr gcc 4.4 has problems with such implicit conversions... --- opm/parser/eclipse/IntegrationTests/IntegrationTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/parser/eclipse/IntegrationTests/IntegrationTests.cpp b/opm/parser/eclipse/IntegrationTests/IntegrationTests.cpp index 5f309fb0c..ee303ab48 100644 --- a/opm/parser/eclipse/IntegrationTests/IntegrationTests.cpp +++ b/opm/parser/eclipse/IntegrationTests/IntegrationTests.cpp @@ -77,7 +77,7 @@ BOOST_AUTO_TEST_CASE(parse_streamWithWWCTKeyword_deckReturned) { "WWCT\n" " 'WELL-1' 'WELL-2' / -- Rumpelstilzchen\n" "/\n"; - std::shared_ptr wwctStream(new std::istringstream(wwctString)); + std::shared_ptr wwctStream(new std::istringstream(wwctString)); ParserPtr parser = createWWCTParser(); BOOST_CHECK( parser->canParseKeyword("WWCT"));