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:
Andreas Lauser
2014-06-03 18:23:07 +02:00
parent 7c53febf57
commit 52c5d3fbcb
3 changed files with 7 additions and 5 deletions

View File

@@ -28,6 +28,8 @@
using namespace Opm;
// forward declaration to avoid a pedantic compiler warning
EclipseState makeState(const std::string& fileName);
EclipseState makeState(const std::string& fileName) {
ParserPtr parser(new Parser( ));