App: modernize C++: return braced init list
This commit is contained in:
@@ -115,12 +115,9 @@ std::string Extension::name() const {
|
||||
|
||||
if (pos != std::string::npos)
|
||||
return temp.substr(pos+1);
|
||||
else
|
||||
return std::string();
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Property* Extension::extensionGetPropertyByName(const char* name) const {
|
||||
|
||||
return extensionGetPropertyData().getPropertyByName(this, name);
|
||||
|
||||
Reference in New Issue
Block a user