mirror of
https://github.com/fmtlib/fmt.git
synced 2025-10-28 12:41:42 +01:00
Avoid extra copy
This commit is contained in:
@@ -104,7 +104,8 @@ TEST(FPTest, GetCachedPower) {
|
||||
|
||||
TEST(FPTest, Grisu2FormatCompilesWithNonIEEEDouble) {
|
||||
size_t size = 0;
|
||||
grisu2_format(4.2f, FMT_NULL, size, fmt::internal::grisu2_specs());
|
||||
fmt::memory_buffer buf;
|
||||
grisu2_format(4.2f, buf, fmt::internal::grisu2_specs());
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user