diff --git a/include/fmt/core.h b/include/fmt/core.h index 549f948f..ca22be42 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -3180,6 +3180,7 @@ template class basic_format_string { basic_format_string(basic_runtime r) : str_(r.str) {} FMT_INLINE operator basic_string_view() const { return str_; } + FMT_INLINE basic_string_view get() const { return str_; } }; #if FMT_GCC_VERSION && FMT_GCC_VERSION < 409