Move buildAllCells() to anon. namespace.

This avoids diagnostics like "no previous declaration for ...".
This commit is contained in:
Bård Skaflestad 2013-05-07 21:40:17 +02:00
parent cfb7c2916a
commit d0cb7d8a4c

View File

@ -33,9 +33,7 @@
struct UnstructuredGrid;
namespace Opm {
class LinearSolverInterface;
namespace {
std::vector<int>
buildAllCells(const int nc)
{
@ -45,6 +43,10 @@ namespace Opm {
return all_cells;
}
}
namespace Opm {
class LinearSolverInterface;
template <typename Scalar, class BOProps>
class PressureDependentFluidData {