mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-06 03:31:43 +00:00
Replaced all uses of DISALLOW_COPY_AND_ASSIGN macro
Change-Id: I8371beb286a20d4c7619aab226136569fdefafef
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user