make WellTestConfig::Reason a namespace scoped enum WTest::Reason

and alias it as WellTestConfig::Reason
This commit is contained in:
Arne Morten Kvarving 2023-01-11 14:13:11 +01:00
parent 5382a52649
commit 06f1b6e8f9

View File

@ -51,19 +51,20 @@ constexpr int GCON = 6;
constexpr int THPLimit = 9;
}
enum class Reason {
PHYSICAL = 1,
ECONOMIC = 2,
GROUP = 4,
THP_DESIGN=8,
COMPLETION=16,
};
}
class WellTestConfig {
public:
enum class Reason {
PHYSICAL = 1,
ECONOMIC = 2,
GROUP = 4,
THP_DESIGN=8,
COMPLETION=16,
};
using Reason = WTest::Reason;
struct WTESTWell {
std::string name;
int reasons;