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

pull/22412/head
Dean Lee 4 years ago committed by GitHub
parent c11be0f49a
commit a6da064a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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