aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/AbstractSyntaxTree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-dataloader/AbstractSyntaxTree.cpp')
-rw-r--r--src/openvic-dataloader/AbstractSyntaxTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-dataloader/AbstractSyntaxTree.cpp b/src/openvic-dataloader/AbstractSyntaxTree.cpp
index d6f58f7..e6885a5 100644
--- a/src/openvic-dataloader/AbstractSyntaxTree.cpp
+++ b/src/openvic-dataloader/AbstractSyntaxTree.cpp
@@ -11,7 +11,7 @@ AbstractSyntaxTree::symbol_type AbstractSyntaxTree::intern(std::string_view str)
}
const char* AbstractSyntaxTree::intern_cstr(const char* str, std::size_t length) {
- return intern(str, length).c_str(_symbol_interner);
+ return intern(str, length).c_str();
}
const char* AbstractSyntaxTree::intern_cstr(std::string_view str) {