diff --git a/fmt/format.h b/fmt/format.h index a8b5c479..21ebd9ee 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1959,6 +1959,9 @@ class ArgFormatterBase : public ArgVisitor { writer_.write_int(reinterpret_cast(p), spec_); } + // workaround MSVC two-phase lookup issue + typedef internal::Arg Arg; + protected: BasicWriter &writer() { return writer_; } Spec &spec() { return spec_; }