From 4b62278a910cab741622d2a1fb3706f4bd3d633b Mon Sep 17 00:00:00 2001 From: Johannes Kopf Date: Sun, 5 Mar 2017 15:58:16 -0800 Subject: [PATCH] fixing a compile error on windows Summary: This file only compiles with MSVC after I made the change in this diff. The code was difficult to follow, so I am not sure if the template is needed here? Reviewed By: yfeldblum Differential Revision: D4656575 fbshipit-source-id: 19415623bdb1757b573f12cdc9d8544d716ce6f2 --- folly/Format-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/Format-inl.h b/folly/Format-inl.h index 70f5564d..3bce2525 100644 --- a/folly/Format-inl.h +++ b/folly/Format-inl.h @@ -270,7 +270,7 @@ void BaseFormatter::operator()( "folly::format: may not have both default and explicit arg indexes"); } - asDerived().template doFormat(size_t(argIndex), arg, out); + asDerived().doFormat(size_t(argIndex), arg, out); } } -- 2.34.1