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
+1 -2
View File
@@ -119,9 +119,8 @@ Channel::shared_pointer CAChannelProvider::createChannel(
ChannelRequester::shared_pointer const & channelRequester,
short priority)
{
static std::string emptyString;
Channel::shared_pointer channel(
createChannel(channelName, channelRequester, priority, emptyString));
createChannel(channelName, channelRequester, priority, std::string()));
return channel;
}