replay/segment: std::atomic member variables (#22409)

This commit is contained in:
Dean Lee
2021-10-02 22:09:39 +08:00
committed by GitHub
parent c11be0f49a
commit a6da064a93
+2 -2
View File
@@ -56,9 +56,9 @@ protected:
void downloadFile(const QString &url);
QString localPath(const QUrl &url);
bool loaded_ = false, valid_ = false;
std::atomic<bool> loaded_ = false, valid_ = false;
std::atomic<bool> aborting_ = false;
int downloading_ = 0;
std::atomic<int> downloading_ = 0;
int seg_num_ = 0;
SegmentFile files_;
QString road_cam_path_;