diff --git a/include/cppcore/misc/flags.inl b/include/cppcore/misc/flags.inl index 923ed61..f6eaef3 100644 --- a/include/cppcore/misc/flags.inl +++ b/include/cppcore/misc/flags.inl @@ -181,7 +181,7 @@ namespace cppcore const flags& flags ::empty() { - const flags value(0); + static const flags value(0); return value; } @@ -189,7 +189,7 @@ namespace cppcore const flags& flags ::all() { - const flags value(std::numeric_limits::max()); + static const flags value(std::numeric_limits::max()); return value; }