From: Stephen Chen Date: Thu, 21 Nov 2013 07:19:55 +0000 (-0800) Subject: fix broken clang build: add missing template keyword X-Git-Tag: v0.22.0~795 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bc4b701a5512436d478fc64756e2935d4e691a90;p=folly.git fix broken clang build: add missing template keyword Summary: Broken in D1054291 Test Plan: build adpublisher in clang mode which was one of the two projects that failed to build. Reviewed By: bmaurer@fb.com FB internal diff: D1067652 @override-unit-failures --- diff --git a/folly/stats/TimeseriesHistogram-defs.h b/folly/stats/TimeseriesHistogram-defs.h index ddf71d35..abc7dee1 100644 --- a/folly/stats/TimeseriesHistogram-defs.h +++ b/folly/stats/TimeseriesHistogram-defs.h @@ -202,7 +202,7 @@ std::string TimeseriesHistogram::getString(int level) const { const ContainerType& cont = buckets_.getByIndex(i); toAppend(buckets_.getBucketMin(i), ":", cont.count(level), - ":", cont.avg(level), &result); + ":", cont.template avg(level), &result); } return result;