Apply clang-tidy

This commit is contained in:
Victor Zverovich
2025-09-03 11:05:41 -07:00
parent 80549a630e
commit e72e43af1c
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -11,10 +11,11 @@
#if FMT_USE_CONSTEVAL
template <size_t max_string_length, typename Char = char> struct test_string {
Char buffer[max_string_length] = {};
template <typename T> constexpr bool operator==(const T& rhs) const noexcept {
return fmt::basic_string_view<Char>(rhs).compare(buffer) == 0;
}
Char buffer[max_string_length]{};
};
template <size_t max_string_length, typename Char = char, typename... Args>