Use WaitFreeVector in Enumerator.

This commit is contained in:
levlam 2022-08-03 22:51:07 +03:00
parent 2be8c86855
commit 98afc516dc

View File

@ -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