mirror of
https://github.com/fmtlib/fmt.git
synced 2026-01-18 13:31:21 +01:00
fix: add missing operator (#4627)
This commit is contained in:
committed by
GitHub
parent
2a50a0d808
commit
789aa69e0a
@@ -930,6 +930,9 @@ class locale_ref {
|
||||
}
|
||||
|
||||
inline explicit operator bool() const noexcept { return locale_ != nullptr; }
|
||||
#else
|
||||
public:
|
||||
inline explicit operator bool() const noexcept { return false; }
|
||||
#endif // FMT_USE_LOCALE
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user