Commit 52aabbe7 authored by Jonathan Müller's avatar Jonathan Müller

Workaround MSVC lookup issue in ArgFormatterBase

Fixes #505.
parent 4423490d
...@@ -1959,6 +1959,9 @@ class ArgFormatterBase : public ArgVisitor<Impl, void> { ...@@ -1959,6 +1959,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_; }
Spec &spec() { return spec_; } Spec &spec() { return spec_; }
......
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