Use WaitFreeVector in Enumerator.
This commit is contained in:
parent
2be8c86855
commit
98afc516dc
@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/WaitFreeVector.h"
|
||||
|
||||
#include <limits>
|
||||
#include <map>
|
||||
@ -48,7 +49,7 @@ class Enumerator {
|
||||
|
||||
private:
|
||||
std::map<ValueT, int32> map_;
|
||||
std::vector<const ValueT *> arr_;
|
||||
WaitFreeVector<const ValueT *> arr_;
|
||||
};
|
||||
|
||||
} // namespace td
|
||||
|
Loading…
Reference in New Issue
Block a user