diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-08-18 00:58:04 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-08-18 00:58:04 +0200 |
commit | 4a9a8f3f48f7820cff2964489f09a34160b1671b (patch) | |
tree | 417244fb281fca8d19efcbbae5fa6d371ff89ba4 /src/leveldb/util | |
parent | 317f57ec87da566ee2ae648853a9105a4136efef (diff) | |
parent | 84d6d69fc69662b2709fffbeaf3c3b4f53c535b1 (diff) |
Merge commit '84d6d69fc69662b2709fffbeaf3c3b4f53c535b1'
Diffstat (limited to 'src/leveldb/util')
-rw-r--r-- | src/leveldb/util/comparator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leveldb/util/comparator.cc b/src/leveldb/util/comparator.cc index 6cc319242e..4b7b5724ef 100644 --- a/src/leveldb/util/comparator.cc +++ b/src/leveldb/util/comparator.cc @@ -66,7 +66,7 @@ class BytewiseComparatorImpl : public Comparator { }; } // namespace -static port::OnceType once_comparator = LEVELDB_ONCE_INIT; +static port::OnceType once = LEVELDB_ONCE_INIT; static const Comparator* bytewise; static void InitModule() { @@ -74,7 +74,7 @@ static void InitModule() { } const Comparator* BytewiseComparator() { - port::InitOnce(&once_comparator, InitModule); + port::InitOnce(&once, InitModule); return bytewise; } |