• Mike Kolupaev's avatar
    Added missing instantiation for HistogramBuckets::computeTotalCount() · 3740c290
    Mike Kolupaev authored
    Summary:
    D2078239 added a template method to HistogramBuckets but didn't add an instantiation for it, similar to getPercentileBucketIdx() and getPercentileEstimate() (see comment in Instantiations.cpp). This diff adds it, making `computeTotalCount()` usable without including `Histogram-defs.h`.
    
    Also removes the weird `const` in return type.
    
    Reviewed By: simpkins
    
    Differential Revision: D2783534
    
    fb-gh-sync-id: 9226489820116e0cbcb1f6a631b389439558061e
    3740c290
Instantiations.cpp 2.47 KB