Use nullptr if available

This commit is contained in:
Victor Zverovich
2018-01-20 19:11:19 -08:00
parent e95e4659d9
commit d8c25a175a
6 changed files with 36 additions and 24 deletions
+1 -1
View File
@@ -2560,7 +2560,7 @@ void basic_writer<Range>::write_double(T value, const format_specs &spec) {
// Format using snprintf.
unsigned n = 0;
char_type *start = 0;
char_type *start = FMT_NULL;
for (;;) {
std::size_t buffer_size = buffer.capacity();
#if FMT_MSC_VER