From d53cc2bc1292c398674a53535fcecd06fecf9cc7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 12 Jan 2013 10:17:56 -0800 Subject: [PATCH] Fix the build on MSVC. --- format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/format.h b/format.h index c1553707..e9b8e3cb 100644 --- a/format.h +++ b/format.h @@ -244,14 +244,14 @@ struct FormatSpec : AlignSpec { char type() const { return type_; } }; -template -class IntFormatter : public Spec { +template +class IntFormatter : public SpecT { private: T value_; public: - IntFormatter(T value, const Spec &spec = Spec()) - : Spec(spec), value_(value) {} + IntFormatter(T value, const SpecT &spec = SpecT()) + : SpecT(spec), value_(value) {} T value() const { return value_; } };