Skip to content

Commit

Permalink
Fix a warning message from the Xcode compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
markccchiang committed Apr 21, 2024
1 parent 165aa83 commit f1b7cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Session/Session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ bool Session::OnOpenFile(const CARTA::OpenFile& message, uint32_t request_id, bo
DeleteFrame(file_id);
}
std::unique_lock<std::mutex> lock(_frame_mutex); // open/close lock
_frames[file_id] = move(frame);
_frames[file_id] = std::move(frame);
_last_file_id = file_id;
lock.unlock();

Expand Down Expand Up @@ -596,7 +596,7 @@ bool Session::OnOpenFile(
DeleteFrame(file_id);
}
std::unique_lock<std::mutex> lock(_frame_mutex); // open/close lock
_frames[file_id] = move(frame);
_frames[file_id] = std::move(frame);
_last_file_id = file_id;
lock.unlock();

Expand Down

0 comments on commit f1b7cd7

Please sign in to comment.