summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/repoList.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/repoList.cpp b/src/repoList.cpp
index e3dbb0c..f66e019 100644
--- a/src/repoList.cpp
+++ b/src/repoList.cpp
@@ -16,9 +16,9 @@ GitFS::RepoList::connect(const ::std::string volume, const ::std::string auth, c
throw NetFS::ConfigError();
}
- const auto propReader = std::bind(&Ice::Properties::getProperty, properties,
- std::bind((std::string(*)(const std::string_view &, const std::string_view &))(&RepoPropertyName::get),
- volume, std::placeholders::_1));
+ const auto propReader = [volume, this](auto n) {
+ return properties->getProperty(RepoPropertyName::get(volume, n));
+ };
if (propReader("gitdir").empty()) {
throw NetFS::ConfigError();