Codechange: replace x.size() > 0 with !x.empty()
This commit is contained in:
@@ -87,7 +87,7 @@ public:
|
||||
*/
|
||||
bool IsValid() const
|
||||
{
|
||||
return this->buf.size() > 0;
|
||||
return !this->buf.empty();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user