ywkaras commented on a change in pull request #8225:
URL: https://github.com/apache/trafficserver/pull/8225#discussion_r685513634
##########
File path: iocore/utils/I_Machine.h
##########
@@ -77,6 +77,11 @@ struct Machine {
/// @return The global instance of this class.
static self_type *instance();
bool is_self(std::string_view name);
+ bool
+ is_self(char const *name)
+ {
+ return this->is_self(std::string_view(name));
+ }
Review comment:
Not good for optimal inlining, but not called in any high-rep loop I
don't think.
--
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]