mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
Move buildAllCells() to anon. namespace.
This avoids diagnostics like "no previous declaration for ...".
This commit is contained in:
parent
cfb7c2916a
commit
d0cb7d8a4c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user