Skip to content

Commit b1953d2

Browse files
eeemmmmmmclonker
authored andcommitted
Replace string comparison with empty() method in DocStringParser
1 parent 0917604 commit b1953d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/parsing/DocStringParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ DocStringParser::iter DocStringParser::parseDocTag(iter _pos, iter _end, std::st
163163
{
164164
// TODO: need to check for @(start of a tag) between here and the end of line
165165
// for all cases.
166-
if (!m_lastTag || _tag != "")
166+
if (!m_lastTag || !_tag.empty())
167167
{
168168
if (_tag == "param")
169169
return parseDocTagParam(_pos, _end);

0 commit comments

Comments
 (0)