Commit d53cc2bc authored by Victor Zverovich's avatar Victor Zverovich

Fix the build on MSVC.

parent 4f96062c
...@@ -244,14 +244,14 @@ struct FormatSpec : AlignSpec { ...@@ -244,14 +244,14 @@ struct FormatSpec : AlignSpec {
char type() const { return type_; } char type() const { return type_; }
}; };
template <typename T, typename Spec> template <typename T, typename SpecT>
class IntFormatter : public Spec { class IntFormatter : public SpecT {
private: private:
T value_; T value_;
public: public:
IntFormatter(T value, const Spec &spec = Spec()) IntFormatter(T value, const SpecT &spec = SpecT())
: Spec(spec), value_(value) {} : SpecT(spec), value_(value) {}
T value() const { return value_; } T value() const { return value_; }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment