diff --git a/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_client.cpp b/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_client.cpp index e97a485f..b5c5d284 100644 --- a/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_client.cpp +++ b/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_client.cpp @@ -27,6 +27,7 @@ #include "events/events.hpp" #include "types/repertory.hpp" #include "utils/path_utils.hpp" +#include "version.hpp" namespace repertory::remote_winfsp { #define RAISE_REMOTE_WINFSP_CLIENT_EVENT(func, file, ret) \ @@ -315,7 +316,7 @@ auto remote_client::winfsp_mounted(const std::wstring &location) constexpr const auto *function_name = static_cast(__FUNCTION__); packet request; - request.encode(project_get_version()); + request.encode(std::string{project_get_version()}); request.encode(location); std::uint32_t service_flags{};