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

@@ -17,6 +17,10 @@ class Notifier : public ErrorBase {
public:
Notifier(TimerEventHandler handler, void *param = nullptr);
virtual ~Notifier();
Notifier(const Notifier&) = delete;
Notifier& operator=(const Notifier&) = delete;
void StartSingle(double delay);
void StartPeriodic(double period);
void Stop();
@@ -44,8 +48,6 @@ class Notifier : public ErrorBase {
priority_mutex m_handlerMutex; // held by interrupt manager task while
// handler call is in progress
DISALLOW_COPY_AND_ASSIGN(Notifier);
#ifdef FRC_SIMULATOR
static ::std::thread m_task;
static ::std::atomic<bool> m_stopped;