Commit e6df0239 authored by Jonathan Müller's avatar Jonathan Müller

Workaround MSVC lookup issue in ArgFormatterBase

Fixes #505.

(cherry picked from commit 52aabbe7)
parent 1934d9e5
...@@ -1879,6 +1879,9 @@ class ArgFormatterBase : public ArgVisitor<Impl, void> { ...@@ -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_; }
......
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