From 726aa43a958dddf3709e06420b8202cfe065c34f Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 10 Jul 2024 14:56:09 -0500 Subject: [PATCH] fix --- .../src/drives/winfsp/remotewinfsp/remote_client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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{};