replay/logreader: use unique_ptr for mbr_ (#29440)

old-commit-hash: 61a00d267380f8ea75e5d7b6aeb7d0dc5e17d763
This commit is contained in:
Dean Lee
2023-08-18 02:42:35 +08:00
committed by GitHub
parent 4857b61f8f
commit e1f4ce2fb1
2 changed files with 4 additions and 11 deletions
+1 -2
View File
@@ -61,7 +61,6 @@ private:
bool parse(const std::set<cereal::Event::Which> &allow, std::atomic<bool> *abort);
std::string raw_;
#ifdef HAS_MEMORY_RESOURCE
std::pmr::monotonic_buffer_resource *mbr_ = nullptr;
void *pool_buffer_ = nullptr;
std::unique_ptr<std::pmr::monotonic_buffer_resource> mbr_;
#endif
};