Skip to content

Commit 5c3c957

Browse files
authored
Merge pull request #16073 from ethereum/remove-whitespace-literal-operator
Remove deprecated whitespace in literal operator declaration
2 parents 7c816bf + 30caf71 commit 5c3c957

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

liblangutil/Exceptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ struct ErrorId
163163
bool operator!=(ErrorId const& _rhs) const { return !(*this == _rhs); }
164164
bool operator<(ErrorId const& _rhs) const { return error < _rhs.error; }
165165
};
166-
constexpr ErrorId operator"" _error(unsigned long long _error) { return ErrorId{ _error }; }
166+
constexpr ErrorId operator""_error(unsigned long long _error) { return ErrorId{ _error }; }
167167

168168
class Error: virtual public util::Exception
169169
{

libyul/YulString.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class YulString
163163
YulStringRepository::Handle m_handle{ 0, YulStringRepository::emptyHash() };
164164
};
165165

166-
inline YulString operator "" _yulname(char const* _string, std::size_t _size)
166+
inline YulString operator""_yulname(char const* _string, std::size_t _size)
167167
{
168168
return YulString(std::string_view(_string, _size));
169169
}

0 commit comments

Comments
 (0)