Add support for custom memory allocator to BasicWriter
This commit is contained in:
1 parent
70205edd6e
commit
b9a568b1dd
4 files changed
+345
-302
No files matched your search
@@ -46,7 +46,7 @@ TEST(FormatTest, ArgConverter) {
|
||||
|
||||
TEST(FormatTest, FormatNegativeNaN) {
|
||||
double nan = std::numeric_limits<double>::quiet_NaN();
|
||||
if (getsign(-nan))
|
||||
if (fmt::internal::getsign(-nan))
|
||||
EXPECT_EQ("-nan", fmt::format("{}", -nan));
|
||||
else
|
||||
fmt::print("Warning: compiler doesn't handle negative NaN correctly");
|
||||
|
||||
Reference in new issue
Block a user