must not define global members in ifdef'd block.
This commit is contained in:
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user