Browse Source

common/logging/filter: Replace C-style case with C++ static_cast

pull/15/merge
Lioncash 7 years ago
parent
commit
2949d9552c
  1. 2
      src/common/logging/filter.h

2
src/common/logging/filter.h

@ -49,6 +49,6 @@ public:
bool IsDebug() const;
private:
std::array<Level, (size_t)Class::Count> class_levels;
std::array<Level, static_cast<size_t>(Class::Count)> class_levels;
};
} // namespace Log
Loading…
Cancel
Save