Replaced all uses of DISALLOW_COPY_AND_ASSIGN macro

Change-Id: I8371beb286a20d4c7619aab226136569fdefafef
This commit is contained in:
Tyler Veness
2015-07-21 01:23:34 -07:00
parent eb7d55fd59
commit 3bbeccfbb5
22 changed files with 70 additions and 41 deletions

View File

@@ -20,6 +20,10 @@ class SensorBase : public ErrorBase {
public:
SensorBase();
virtual ~SensorBase() = default;
SensorBase(const SensorBase&) = delete;
SensorBase& operator=(const SensorBase&) = delete;
static void DeleteSingletons();
static uint32_t GetDefaultSolenoidModule() { return 0; }
@@ -51,7 +55,6 @@ class SensorBase : public ErrorBase {
static void* m_pwm_ports[kPwmChannels];
private:
DISALLOW_COPY_AND_ASSIGN(SensorBase);
static SensorBase* m_singletonList;
SensorBase* m_nextSingleton;
};