Fix the build on MSVC.

This commit is contained in:
Victor Zverovich 2013-01-12 10:17:56 -08:00
parent 4f96062c5a
commit d53cc2bc12

View File

@ -244,14 +244,14 @@ struct FormatSpec : AlignSpec {
char type() const { return type_; }
};
template <typename T, typename Spec>
class IntFormatter : public Spec {
template <typename T, typename SpecT>
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_; }
};