summaryrefslogtreecommitdiff
path: root/modules/remote-filesystem/c++/remote.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/remote-filesystem/c++/remote.hpp')
-rw-r--r--modules/remote-filesystem/c++/remote.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/remote-filesystem/c++/remote.hpp b/modules/remote-filesystem/c++/remote.hpp
index 062d7ee..8390501 100644
--- a/modules/remote-filesystem/c++/remote.hpp
+++ b/modules/remote-filesystem/c++/remote.hpp
@@ -41,7 +41,7 @@ public:
template<typename Schema, typename Encode>
error_or<own<data_server<Schema, Encode, rmt::File>>> data_listen(ref<remote_address<rmt::File>> addr){
- auto insert_res = registered_data_servers_.emplace(std::make_pair(addr.get_path_string(),{}));
+ auto insert_res = registered_data_servers_.emplace(std::make_pair(addr().get_path_string(),ptr<i_data_server<rmt::File>>{}));
if(!insert_res.second){
return make_error<err::already_exists>();
}