aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/ObjectParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/ObjectParser.cpp')
-rw-r--r--libyul/ObjectParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libyul/ObjectParser.cpp b/libyul/ObjectParser.cpp
index ba19e099..5f1eadef 100644
--- a/libyul/ObjectParser.cpp
+++ b/libyul/ObjectParser.cpp
@@ -42,7 +42,7 @@ shared_ptr<Object> ObjectParser::parse(shared_ptr<Scanner> const& _scanner, bool
{
// Special case: Code-only form.
object = make_shared<Object>();
- object->name = YulString{"object"};
+ object->name = "object"_yulstring;
object->code = parseBlock();
if (!object->code)
return nullptr;