Skip to content
Snippets Groups Projects
Commit b8ab6de2 authored by Mattias Ajander's avatar Mattias Ajander
Browse files

Proper string cast for to_s function

parent 61bf4b07
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ Node* LiteralNode::evaluate() ...@@ -12,7 +12,7 @@ Node* LiteralNode::evaluate()
String LiteralNode::to_s() const String LiteralNode::to_s() const
{ {
return std::get<String>(value); return cast<String>();
} }
NodeValue LiteralNode::get_value() const NodeValue LiteralNode::get_value() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment