From a26af2bf43f8e74f5812fe808bee82df52a6fb87 Mon Sep 17 00:00:00 2001 From: vitaut Date: Sun, 6 Dec 2015 08:58:52 -0800 Subject: [PATCH] Fix MSVC build --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index 98190162e444b..aa55f210e05d0 100644 --- a/format.h +++ b/format.h @@ -2772,7 +2772,7 @@ void BasicWriter::write_double( if (spec.align() == ALIGN_CENTER && spec.width() > static_cast(n)) { width = spec.width(); - CharPtr p = grow_buffer(width); + Char *p = get(grow_buffer(width)); std::memmove(p + (width - n) / 2, p, n * sizeof(Char)); fill_padding(p, spec.width(), n, fill); return;