mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-14 22:29:56 +08:00
Workaround MSVC lookup issue in ArgFormatterBase
Fixes #505. (cherry picked from commit 52aabbe7efe9c71c24ef1b1397de16c9844eea5d)
This commit is contained in:
parent
1934d9e5d9
commit
e6df023916
@ -1879,6 +1879,9 @@ class ArgFormatterBase : public ArgVisitor<Impl, void> {
|
||||
writer_.write_int(reinterpret_cast<uintptr_t>(p), spec_);
|
||||
}
|
||||
|
||||
// workaround MSVC two-phase lookup issue
|
||||
typedef internal::Arg Arg;
|
||||
|
||||
protected:
|
||||
BasicWriter<Char> &writer() { return writer_; }
|
||||
FormatSpec &spec() { return spec_; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user