mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-08 01:36:53 +08:00
Make FMT_STRING redundant when FMT_USE_CONSTEVAL is enabled
This commit is contained in:
parent
e00fd756cc
commit
270480db68
@ -4231,7 +4231,7 @@ class format_int {
|
||||
inline auto str() const -> std::string { return {str_, size()}; }
|
||||
};
|
||||
|
||||
#if FMT_CLANG_ANALYZER
|
||||
#if FMT_USE_CONSTEVAL || FMT_CLANG_ANALYZER
|
||||
# define FMT_STRING_IMPL(s, base) s
|
||||
#else
|
||||
# define FMT_STRING_IMPL(s, base) \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user