Fix unity build by removing anonymous namespace
Summary: see title
Test Plan: run 'make unity'
Reviewers: igor
Reviewed By: igor
Subscribers: dhruba
Differential Revision: https://reviews.facebook.net/D41079
(cherry picked from commit e70115e71b
)
This commit is contained in:
parent
4159f5b87b
commit
8856b22edd
@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
namespace rocksdb {
|
namespace rocksdb {
|
||||||
|
|
||||||
namespace {
|
|
||||||
class BackupRateLimiter {
|
class BackupRateLimiter {
|
||||||
public:
|
public:
|
||||||
BackupRateLimiter(Env* env, uint64_t max_bytes_per_second,
|
BackupRateLimiter(Env* env, uint64_t max_bytes_per_second,
|
||||||
@ -79,7 +78,6 @@ class BackupRateLimiter {
|
|||||||
uint64_t bytes_since_start_;
|
uint64_t bytes_since_start_;
|
||||||
static const uint64_t kMicrosInSecond = 1000 * 1000LL;
|
static const uint64_t kMicrosInSecond = 1000 * 1000LL;
|
||||||
};
|
};
|
||||||
} // namespace
|
|
||||||
|
|
||||||
void BackupStatistics::IncrementNumberSuccessBackup() {
|
void BackupStatistics::IncrementNumberSuccessBackup() {
|
||||||
number_success_backup++;
|
number_success_backup++;
|
||||||
|
Loading…
Reference in New Issue
Block a user