From d6a29a2a8663a5ea8bd873974c32f82510c8e5b2 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 2 Apr 2018 11:53:00 -0700 Subject: [PATCH] beaconEmitter const-ify data members --- src/server/pv/beaconEmitter.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/server/pv/beaconEmitter.h b/src/server/pv/beaconEmitter.h index 56ead21..badcd7a 100644 --- a/src/server/pv/beaconEmitter.h +++ b/src/server/pv/beaconEmitter.h @@ -95,7 +95,7 @@ private: /** * Protocol. */ - std::string _protocol; + const std::string _protocol; /** * Transport. @@ -110,22 +110,22 @@ private: /** * Server GUID. */ - ServerGUID _guid; + const ServerGUID _guid; /** * Fast (at startup) beacon period (in sec). */ - double _fastBeaconPeriod; + const double _fastBeaconPeriod; /** * Slow (after beaconCountLimit is reached) beacon period (in sec). */ - double _slowBeaconPeriod; + const double _slowBeaconPeriod; /** * Limit on number of beacons issued. */ - epics::pvData::int16 _beaconCountLimit; + const epics::pvData::int16 _beaconCountLimit; /** * Server address. @@ -135,7 +135,7 @@ private: /** * Server port. */ - epics::pvData::int32 _serverPort; + const epics::pvData::int32 _serverPort; /** * Server status provider implementation (optional).