Fix copyright lines
[folly.git] / folly / stats / MultiLevelTimeSeries.h
index edd731a61a956cc26afef7cd68523f62c008f4bb..1818a947ca8476bdfcb184ed8267349e0d4b0b94 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2013-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -89,7 +89,9 @@ class MultiLevelTimeSeries {
   /*
    * Return the number of levels tracked by MultiLevelTimeSeries.
    */
-  size_t numLevels() const { return levels_.size(); }
+  size_t numLevels() const {
+    return levels_.size();
+  }
 
   /*
    * Get the BucketedTimeSeries backing the specified level.
@@ -432,7 +434,7 @@ class MultiLevelTimeSeries {
   // or flush() is called.
   TimePoint cachedTime_;
   ValueType cachedSum_;
-  int cachedCount_;
+  uint64_t cachedCount_;
 };
 
-} // folly
+} // namespace folly