make GCC 4.4 happy
there was a "typename" outside of a template, but because the syntactic sugar is created by the Boost unit testing framework, it was not clear wheter it was a template or not. Also, some harmless warnings have been fixed. These only appeared because a few variables have recently been converted from int to size_t...
This commit is contained in:
@@ -33,12 +33,12 @@
|
||||
#include <opm/parser/eclipse/Deck/DeckKeyword.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Grid/GridProperty.hpp>
|
||||
|
||||
// forward declarations
|
||||
Opm::DeckKeywordConstPtr createSATNUMKeyword();
|
||||
Opm::DeckKeywordConstPtr createTABDIMSKeyword();
|
||||
// forward declarations to avoid some pedantic warnings
|
||||
Opm::DeckKeywordConstPtr createSATNUMKeyword( );
|
||||
Opm::DeckKeywordConstPtr createTABDIMSKeyword( );
|
||||
|
||||
BOOST_AUTO_TEST_CASE(Empty) {
|
||||
typedef typename Opm::GridProperty<int>::SupportedKeywordInfo SupportedKeywordInfo;
|
||||
typedef Opm::GridProperty<int>::SupportedKeywordInfo SupportedKeywordInfo;
|
||||
SupportedKeywordInfo keywordInfo("SATNUM" , 77, "1");
|
||||
Opm::GridProperty<int> gridProperty( 5 , 5 , 4 , keywordInfo);
|
||||
const std::vector<int>& data = gridProperty.getData();
|
||||
|
||||
Reference in New Issue
Block a user