mirror of https://github.com/stella-emu/stella.git
Make PaddleReader constants private, to guard against same variable names used elsewhere.
This commit is contained in:
parent
391601d238
commit
483013baa7
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue