SysConf: std::move name in Entry constructor
Allows code to move into the constructor, avoiding copies entirely.
This commit is contained in:
1 parent
05094ab51f
commit
1bbfde62d1
2 files changed
+5
-5
No files matched your search
@@ -47,8 +47,8 @@ public:
|
||||
ByteBool = 7,
|
||||
};
|
||||
|
||||
Entry(Type type_, const std::string& name_);
|
||||
Entry(Type type_, const std::string& name_, std::vector<u8> bytes_);
|
||||
Entry(Type type_, std::string name_);
|
||||
Entry(Type type_, std::string name_, std::vector<u8> bytes_);
|
||||
|
||||
// Intended for use with the non array types.
|
||||
template <typename T>
|
||||
|
||||
Reference in new issue
Block a user