File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -317,8 +317,7 @@ TEST(compile_test, compile_format_string_literal) {
317
317
#endif
318
318
319
319
#if defined(__cpp_if_constexpr) && defined(__cpp_return_type_deduction)
320
- template <typename S>
321
- bool check_is_compiled_string (const S&) {
320
+ template <typename S> auto check_is_compiled_string (const S&) -> bool {
322
321
return fmt::is_compiled_string<S>::value;
323
322
}
324
323
@@ -339,7 +338,7 @@ TEST(compile_test, is_compiled_string) {
339
338
(FMT_MSC_VERSION >= 1928 && FMT_MSC_VERSION < 1930 )) && \
340
339
defined (__cpp_lib_is_constant_evaluated)
341
340
template <size_t max_string_length, typename Char = char> struct test_string {
342
- template <typename T> constexpr bool operator ==(const T& rhs) const noexcept {
341
+ template <typename T> constexpr auto operator ==(const T& rhs) const -> bool {
343
342
return fmt::basic_string_view<Char>(rhs).compare (buffer) == 0 ;
344
343
}
345
344
Char buffer[max_string_length]{};
You can’t perform that action at this time.
0 commit comments