minimize extra dv::value copies

This commit is contained in:
MihailRis
2024-09-19 13:45:32 +03:00
parent bd176f24e1
commit 3953583605
14 changed files with 29 additions and 26 deletions
+2 -2
View File
@@ -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);
}
};