Skip to content

Commit

Permalink
Operator= removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Apr 2, 2020
1 parent 2dae3c4 commit 7c65a8c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
10 changes: 0 additions & 10 deletions src/Sequence.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
#include "Sequence.h"

Sequence& Sequence::operator=(const Sequence& sequence)
{
_press_sequence_duration = sequence._press_sequence_duration;
_first_press_time = sequence._first_press_time;
_press_sequences = sequence._press_sequences;
_short_press_count = sequence._short_press_count;
_is_enabled = sequence._is_enabled;
return *this;
}

bool Sequence::newPress(uint32_t read_started_ms)
{
if(_is_enabled)
Expand Down
2 changes: 0 additions & 2 deletions src/Sequence.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class Sequence

Sequence(){}

Sequence& operator=(const Sequence& sequence);

bool newPress(uint32_t read_started_ms);

void reset();
Expand Down

0 comments on commit 7c65a8c

Please sign in to comment.