mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tweak to variable name to support unity build
This commit is contained in:
@@ -66,7 +66,7 @@ class BytewiseComparatorImpl : public Comparator {
|
||||
};
|
||||
} // namespace
|
||||
|
||||
static port::OnceType once = LEVELDB_ONCE_INIT;
|
||||
static port::OnceType once_comparator = LEVELDB_ONCE_INIT;
|
||||
static const Comparator* bytewise;
|
||||
|
||||
static void InitModule() {
|
||||
@@ -74,7 +74,7 @@ static void InitModule() {
|
||||
}
|
||||
|
||||
const Comparator* BytewiseComparator() {
|
||||
port::InitOnce(&once, InitModule);
|
||||
port::InitOnce(&once_comparator, InitModule);
|
||||
return bytewise;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user