Workaround MSVC lookup issue in ArgFormatterBase
Fixes #505.
(cherry picked from commit 52aabbe7ef)
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…
Reference in New Issue
Block a user