We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf7c68 commit e14775fCopy full SHA for e14775f
Util/src/InfoTree/InfoTree.cpp
@@ -44,7 +44,7 @@ InfoNode InfoTree::CreateArray() {
44
return InfoNode(nodeIndex, this);
45
}
46
47
-InfoNode InfoTree::CreateString(std::string_view s) {
+InfoNode InfoTree::CreateString(std::string s) {
48
auto nodeIndex = _nodeOrInfos.size();
49
auto valueIndex = _stringValues.size();
50
_stringValues.emplace_back(s);
include/Util/InfoTree/InfoTree.h
@@ -29,7 +29,7 @@ class InfoTree {
29
30
InfoNode CreateArray();
31
32
- InfoNode CreateString(std::string_view s);
+ InfoNode CreateString(std::string s);
33
34
InfoNode CreateBool(bool b);
35
0 commit comments