Skip to content

Commit

Permalink
Fix review comments.
Browse files Browse the repository at this point in the history
Signed-off-by: allexzander <blackslayer4@gmail.com>
  • Loading branch information
allexzander committed Apr 6, 2021
1 parent fa76e12 commit 1218090
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libsync/vfs/cfapi/cfapiwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ OCC::Result<void, QString> OCC::CfApiWrapper::registerSyncRoot(const QString &pa
qCWarning(lcCfApiWrapper) << "Failed to create the registry key for path:" << path;
}

const auto p = std::wstring(path.toStdWString().c_str());
const auto name = std::wstring(providerName.toStdWString().c_str());
const auto version = std::wstring(providerVersion.toStdWString().c_str());
const auto p = std::wstring(path.toStdWString().data());
const auto name = std::wstring(providerName.toStdWString().data());
const auto version = std::wstring(providerVersion.toStdWString().data());

CF_SYNC_REGISTRATION info;
info.ProviderName = name.data();
Expand Down

0 comments on commit 1218090

Please sign in to comment.