aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/property_tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/property_tree.cpp')
-rw-r--r--host/lib/property_tree.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/host/lib/property_tree.cpp b/host/lib/property_tree.cpp
index 405c2ac6b..53268efd3 100644
--- a/host/lib/property_tree.cpp
+++ b/host/lib/property_tree.cpp
@@ -76,7 +76,7 @@ public:
_guts = std::make_shared<tree_guts_type>();
}
- sptr subtree(const fs_path& path_) const
+ sptr subtree(const fs_path& path_) const override
{
const fs_path path = _root / path_;
boost::mutex::scoped_lock lock(_guts->mutex);
@@ -86,7 +86,7 @@ public:
return sptr(subtree);
}
- void remove(const fs_path& path_)
+ void remove(const fs_path& path_) override
{
const fs_path path = _root / path_;
boost::mutex::scoped_lock lock(_guts->mutex);
@@ -104,7 +104,7 @@ public:
parent->pop(fs_path(path.leaf()));
}
- bool exists(const fs_path& path_) const
+ bool exists(const fs_path& path_) const override
{
const fs_path path = _root / path_;
boost::mutex::scoped_lock lock(_guts->mutex);
@@ -118,7 +118,7 @@ public:
return true;
}
- std::vector<std::string> list(const fs_path& path_) const
+ std::vector<std::string> list(const fs_path& path_) const override
{
const fs_path path = _root / path_;
boost::mutex::scoped_lock lock(_guts->mutex);
@@ -133,7 +133,7 @@ public:
return node->keys();
}
- std::shared_ptr<void> _pop(const fs_path& path_)
+ std::shared_ptr<void> _pop(const fs_path& path_) override
{
const fs_path path = _root / path_;
boost::mutex::scoped_lock lock(_guts->mutex);
@@ -156,8 +156,7 @@ public:
return prop;
}
- void _create(const fs_path& path_,
- const std::shared_ptr<void>& prop)
+ void _create(const fs_path& path_, const std::shared_ptr<void>& prop) override
{
const fs_path path = _root / path_;
boost::mutex::scoped_lock lock(_guts->mutex);
@@ -174,7 +173,7 @@ public:
node->prop = prop;
}
- std::shared_ptr<void>& _access(const fs_path& path_) const
+ std::shared_ptr<void>& _access(const fs_path& path_) const override
{
const fs_path path = _root / path_;
boost::mutex::scoped_lock lock(_guts->mutex);