From 5ac7620045012c2ed565b81978dc35f5f83f7eea Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Mon, 10 Dec 2018 04:25:51 +0100 Subject: Use C++ user-defined literals for creating YulString constants. --- libyul/ObjectParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libyul/ObjectParser.cpp') 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 ObjectParser::parse(shared_ptr const& _scanner, bool { // Special case: Code-only form. object = make_shared(); - object->name = YulString{"object"}; + object->name = "object"_yulstring; object->code = parseBlock(); if (!object->code) return nullptr; -- cgit