mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-15 06:39:58 +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()}; }
|
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
|
# define FMT_STRING_IMPL(s, base) s
|
||||||
#else
|
#else
|
||||||
# define FMT_STRING_IMPL(s, base) \
|
# define FMT_STRING_IMPL(s, base) \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user