Skip to content

Commit

Permalink
Rename 'thread' to more accurate 'query'
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Mar 26, 2023
1 parent 33ef170 commit 41434dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/recording.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ recording::recording(const std::string &filename, const std::vector<lsl::stream_
stream_threads_.emplace_back(
new std::thread(&recording::record_from_streaminfo, this, stream, true));
// create a resolve-and-record thread for each item in the watchlist
for (const auto &thread : watchfor)
for (const auto &query : watchfor)
stream_threads_.emplace_back(
new std::thread(&recording::record_from_query_results, this, thread));
new std::thread(&recording::record_from_query_results, this, query));
// create a boundary chunk writer thread
boundary_thread_ = std::make_unique<std::thread>(&recording::record_boundaries, this);
}
Expand Down

0 comments on commit 41434dc

Please sign in to comment.