projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
586dd85
)
fix broken clang build: add missing template keyword
author
Stephen Chen
<tracelog@fb.com>
Thu, 21 Nov 2013 07:19:55 +0000
(23:19 -0800)
committer
Peter Griess
<pgriess@fb.com>
Tue, 26 Nov 2013 15:05:17 +0000
(07:05 -0800)
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
patch
|
blob
|
history
diff --git
a/folly/stats/TimeseriesHistogram-defs.h
b/folly/stats/TimeseriesHistogram-defs.h
index ddf71d353c07131de0753458b694836b83b415ed..abc7dee1d7ffdb659d80073f126f346d6fd09344 100644
(file)
--- 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;