fixing a compile error on windows v2017.03.06.00
authorJohannes Kopf <jkopf@fb.com>
Sun, 5 Mar 2017 23:58:16 +0000 (15:58 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 6 Mar 2017 00:10:58 +0000 (16:10 -0800)
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

index 70f5564d1a9faccf804a5e9213c8ebd8d0e9eb0a..3bce25256227367a54724803fdfcc90540bb5f03 100644 (file)
@@ -270,7 +270,7 @@ void BaseFormatter<Derived, containerMode, Args...>::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);
   }
 }