fix build breakage of the unit tests due to OPM/opm-parser#687

While the patch is quite trivial (some forgotten 'const'), the havoc
was caused because I usually configure my modules with --disable-tests
(to get much better turn-around times when switching all modules from
debug to optimization flags) and the usual way to force them to
compile ('make test-suite') does not work for opm-core...
This commit is contained in:
Andreas Lauser committed 2016-02-21 17:35:33 +01:00
1 parent c709e347c3
commit 377b844862
1 file changed
+2 -2
@@ -169,13 +169,13 @@ namespace Opm {
* \return Data values for property \c kw.
*/
template <class PropertyContainer>
static std::shared_ptr< GridProperty<int> >
static std::shared_ptr<const GridProperty<int> >
value(PropertyContainer& ecl,
const std::string& kw);
};
template <class PropertyContainer>
std::shared_ptr< GridProperty<int> >
std::shared_ptr<const GridProperty<int> >
GetProperty<int>::value(PropertyContainer& ecl,
const std::string& kw)
{