summaryrefslogtreecommitdiffstats
path: root/src/modules/StorageBackendFile/StorageBackendFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/StorageBackendFile/StorageBackendFile.cpp')
-rw-r--r--src/modules/StorageBackendFile/StorageBackendFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/StorageBackendFile/StorageBackendFile.cpp b/src/modules/StorageBackendFile/StorageBackendFile.cpp
index 33c6b0f..aae7e03 100644
--- a/src/modules/StorageBackendFile/StorageBackendFile.cpp
+++ b/src/modules/StorageBackendFile/StorageBackendFile.cpp
@@ -35,12 +35,12 @@ bool StorageBackendFile::handleConfigEntry(const Core::ConfigEntry &entry, bool
boost::lock_guard<boost::shared_mutex> lock(mutex);
if(entry[1].getKey().matches("Root")) {
- if(!entry[2].empty())
+ if(!entry[2].isEmpty())
return false;
- storageRoot = entry[1][0];
+ storageRoot = entry[1][0].extract();
}
- else if(!entry[1].empty()) {
+ else if(!entry[1].isEmpty()) {
return false;
}