swebb2066 commented on code in PR #811:
URL: https://github.com/apache/logging-log4cxx/pull/811#discussion_r4475299111
##########
src/main/cpp/class.cpp:
##########
@@ -163,6 +163,25 @@ const Class& Class::forName(const LogString& className)
return *pEntry->second;
}
+auto Class::withNameSuffix(const LogString& nameSuffix) -> std::vector<const
Class*>
Review Comment:
I believe the C++11 syntax aids readability (the method name being easier to
find). Also, the type can be simpler because the trailing return statement is
in the class context (though that's not relevant here).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]