mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Fix the build on MSVC.
This commit is contained in:
parent
4f96062c5a
commit
d53cc2bc12
8
format.h
8
format.h
@ -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_; }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user