mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Workaround MSVC lookup issue in ArgFormatterBase
Fixes #505.
(cherry picked from commit 52aabbe7ef
)
This commit is contained in:
@ -1879,6 +1879,9 @@ class ArgFormatterBase : public ArgVisitor<Impl, void> {
|
|||||||
writer_.write_int(reinterpret_cast<uintptr_t>(p), spec_);
|
writer_.write_int(reinterpret_cast<uintptr_t>(p), spec_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// workaround MSVC two-phase lookup issue
|
||||||
|
typedef internal::Arg Arg;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
BasicWriter<Char> &writer() { return writer_; }
|
BasicWriter<Char> &writer() { return writer_; }
|
||||||
FormatSpec &spec() { return spec_; }
|
FormatSpec &spec() { return spec_; }
|
||||||
|
Reference in New Issue
Block a user