Make PaddleReader constants private, to guard against same variable names used elsewhere.

This commit is contained in:
Stephen Anthony 2017-09-09 17:28:21 -02:30
parent 391601d238
commit 483013baa7
2 changed files with 7 additions and 8 deletions

View File

@ -19,13 +19,6 @@
#include "PaddleReader.hxx" #include "PaddleReader.hxx"
static constexpr double
C = 68e-9,
RPOT = 1e6,
USUPP = 5;
static constexpr double TRIPPOINT_LINES = 379;
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PaddleReader::PaddleReader() PaddleReader::PaddleReader()
{ {

View File

@ -65,7 +65,13 @@ class PaddleReader : public Serializable
bool myIsDumped; bool myIsDumped;
static constexpr double R0 = 1.5e3; static constexpr double
R0 = 1.5e3,
C = 68e-9,
RPOT = 1e6,
USUPP = 5;
static constexpr double TRIPPOINT_LINES = 379;
private: private:
PaddleReader(const PaddleReader&) = delete; PaddleReader(const PaddleReader&) = delete;