const-ify string constants

yes really...
This commit is contained in:
Michael Davidsaver
2018-05-18 10:12:34 -07:00
parent 6abfe9d196
commit 6ccca1ce58
11 changed files with 31 additions and 37 deletions

View File

@@ -54,7 +54,6 @@ Status ClientChannelImpl::channelDestroyed(
Status::STATUSTYPE_WARNING, "channel destroyed");
Status ClientChannelImpl::channelDisconnected(
Status::STATUSTYPE_WARNING, "channel disconnected");
string emptyString;
}}
namespace {
@@ -3096,7 +3095,7 @@ public:
ChannelRequester::shared_pointer const & channelRequester,
short priority) OVERRIDE FINAL
{
return createChannel(channelName, channelRequester, priority, emptyString);
return createChannel(channelName, channelRequester, priority, std::string());
}
virtual Channel::shared_pointer createChannel(