From ef1023631ead81c0a7f910c448ef7fee4053d5dd Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Thu, 10 Aug 2023 19:36:42 +0200 Subject: [PATCH] Solve issue with rpc on windows. --- source/loaders/rpc_loader/source/rpc_loader_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/loaders/rpc_loader/source/rpc_loader_impl.cpp b/source/loaders/rpc_loader/source/rpc_loader_impl.cpp index 5fa9dca89..e46de1df2 100644 --- a/source/loaders/rpc_loader/source/rpc_loader_impl.cpp +++ b/source/loaders/rpc_loader/source/rpc_loader_impl.cpp @@ -392,7 +392,7 @@ int rpc_loader_impl_load_from_stream_handle(loader_impl_rpc_handle rpc_handle, s { /* Remove white spaces */ url.erase(std::remove_if(url.begin(), url.end(), [](char &c) { - return std::isspace(c, std::locale::classic()); + return std::isspace(c); }), url.end());