Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ every change, see the Git log.

Latest
------
* tbd
* Patch: Fix infinite loop on Windows when looking for recording directory.

1.0.0
-----
Expand Down
2 changes: 1 addition & 1 deletion src/datarecorder/datarecorder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class datarecorder
// Iterate backwards from the current working directory until we
// find the first directory that exists
auto current_path = std::filesystem::current_path();
std::filesystem::path root_path = current_path.root_directory();
std::filesystem::path root_path = current_path.root_path();

while (!current_path.empty() && current_path != root_path)
{
Expand Down