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

@@ -2515,7 +2515,7 @@ public:
typedef std::tr1::shared_ptr<MockServerChannelProvider> shared_pointer;
typedef std::tr1::shared_ptr<const MockServerChannelProvider> const_shared_pointer;
static string PROVIDER_NAME;
static const string PROVIDER_NAME;
MockServerChannelProvider() :
m_mockChannelFind(),
@@ -2699,7 +2699,7 @@ private:
epics::auto_ptr<epics::pvData::Thread> m_imgThread;
};
string MockServerChannelProvider::PROVIDER_NAME = "local";
const string MockServerChannelProvider::PROVIDER_NAME = "local";
struct TestServer
{