Skip to content

Commit

Permalink
Fixes Windows build error caused by unhandled string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-guyot-infomaniak committed Nov 18, 2024
1 parent c23f919 commit 5f68f9c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ SyncOpPtr TestExecutorWorker::generateSyncOperationWithNestedNodes(const DbNodeI
"local_parent_id", testhelpers::defaultTime, testhelpers::defaultTime,
testhelpers::defaultFileSize, _syncPal->updateTree(ReplicaSide::Local)->rootNode());

auto node =
std::make_shared<Node>(dbNodeId, ReplicaSide::Local, "test_file.txt", nodeType, OperationType::None, "local_child_id",
testhelpers::defaultTime, testhelpers::defaultTime, testhelpers::defaultFileSize, parentNode);
auto node = std::make_shared<Node>(dbNodeId, ReplicaSide::Local, Str("test_file.txt"), nodeType, OperationType::None,
"local_child_id", testhelpers::defaultTime, testhelpers::defaultTime,
testhelpers::defaultFileSize, parentNode);


auto correspondingNode =
std::make_shared<Node>(dbNodeId, ReplicaSide::Remote, "test_file.txt", nodeType, OperationType::None,
std::make_shared<Node>(dbNodeId, ReplicaSide::Remote, Str("test_file.txt"), nodeType, OperationType::None,
"remote_child_id", testhelpers::defaultTime, testhelpers::defaultTime,
testhelpers::defaultFileSize, _syncPal->updateTree(ReplicaSide::Remote)->rootNode());

Expand Down

0 comments on commit 5f68f9c

Please sign in to comment.