From: Johannes Kopf Date: Sun, 5 Mar 2017 23:58:16 +0000 (-0800) Subject: fixing a compile error on windows X-Git-Tag: v2017.03.06.00 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=389712b51b7007e3f6c152da90ca5dc20771149e;p=folly.git 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 --- 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); } }