minimize extra dv::value copies
This commit is contained in:
+2
-2
@@ -102,10 +102,10 @@ public:
|
||||
dv::value read() {
|
||||
skipWhitespace();
|
||||
if (!hasNext()) {
|
||||
return root;
|
||||
return std::move(root);
|
||||
}
|
||||
readSection("", root);
|
||||
return root;
|
||||
return std::move(root);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user