diff --git a/fmt/format.h b/fmt/format.h index 2bcb7e28..535a78b3 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1879,6 +1879,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_; } FormatSpec &spec() { return spec_; }