fix method ToString()
This commit is contained in:
parent
2e3503efb3
commit
d43ca205a5
@ -29,7 +29,8 @@ Method::ToString() const
|
||||
// get function const
|
||||
ss << ")";
|
||||
if (IsConst()) { ss << " const"; }
|
||||
return ss.str() + " /*" + sled::StrJoin(properties(), ",") + "*/;";
|
||||
if (!properties_.empty()) { ss << " /*" << sled::StrJoin(properties(), ",") << "*/"; }
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user