mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-06 17:59:55 +08:00
fix: add missing operator (#4627)
This commit is contained in:
parent
2a50a0d808
commit
789aa69e0a
@ -930,6 +930,9 @@ class locale_ref {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline explicit operator bool() const noexcept { return locale_ != nullptr; }
|
inline explicit operator bool() const noexcept { return locale_ != nullptr; }
|
||||||
|
#else
|
||||||
|
public:
|
||||||
|
inline explicit operator bool() const noexcept { return false; }
|
||||||
#endif // FMT_USE_LOCALE
|
#endif // FMT_USE_LOCALE
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user