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

old-commit-hash: a6da064a93
commatwo_master
Dean Lee 4 years ago committed by GitHub
parent 408273df05
commit 0a1fa4fa7b
  1. 4
      selfdrive/ui/replay/route.h

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

Loading…
Cancel
Save