sysfs: Remove return of const string
This prevents move operations.
Change-Id: I897e7d5e7f72076144a1a1bc15abac9f76da3aee
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/sysfs.hpp b/sysfs.hpp
index 690cf77..8f09e03 100644
--- a/sysfs.hpp
+++ b/sysfs.hpp
@@ -17,10 +17,10 @@
s << val;
}
-inline const std::string make_sysfs_path(const std::string& path,
- const std::string& type,
- const std::string& id,
- const std::string& entry)
+inline std::string make_sysfs_path(const std::string& path,
+ const std::string& type,
+ const std::string& id,
+ const std::string& entry)
{
using namespace std::literals;