From bc4b701a5512436d478fc64756e2935d4e691a90 Mon Sep 17 00:00:00 2001 From: Stephen Chen <tracelog@fb.com> Date: Wed, 20 Nov 2013 23:19:55 -0800 Subject: [PATCH] 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 --- folly/stats/TimeseriesHistogram-defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<T, TT, C>::getString(int level) const { const ContainerType& cont = buckets_.getByIndex(i); toAppend(buckets_.getBucketMin(i), ":", cont.count(level), - ":", cont.avg<ValueType>(level), &result); + ":", cont.template avg<ValueType>(level), &result); } return result; -- 2.34.1