must not define global members in ifdef'd block.

This commit is contained in:
Axel Kohlmeyer
2021-05-03 14:54:34 -04:00
parent f0cc70b29a
commit 14f1c62adf

View File

@ -61,10 +61,10 @@ class Error : protected Pointers {
private: private:
std::string last_error_message; std::string last_error_message;
ErrorType last_error_type; ErrorType last_error_type;
int numwarn, maxwarn, allwarn;
#endif #endif
private: private:
int numwarn, maxwarn, allwarn;
// internal versions that accept explicit fmtlib arguments // internal versions that accept explicit fmtlib arguments
[[ noreturn ]] void _all(const std::string &, int, fmt::string_view, [[ noreturn ]] void _all(const std::string &, int, fmt::string_view,
fmt::format_args args); fmt::format_args args);