提交 a8a937bd 编写于 作者: L Liangliang Zhang 提交者: Jiangtao Hu

Planning: use atomic bool

上级 58304fb4
......@@ -23,6 +23,7 @@
#ifndef MODULES_PLANNING_REFERENCE_LINE_REFERENCE_LINE_PROVIDER_H_
#define MODULES_PLANNING_REFERENCE_LINE_REFERENCE_LINE_PROVIDER_H_
#include <atomic>
#include <condition_variable>
#include <list>
#include <memory>
......@@ -156,7 +157,7 @@ class ReferenceLineProvider {
private:
bool is_initialized_ = false;
bool is_stop_ = false;
std::atomic<bool> is_stop_{false};
std::unique_ptr<ReferenceLineSmoother> smoother_;
ReferenceLineSmootherConfig smoother_config_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册