Skip to content

Commit

Permalink
remove move sem from ReactESP
Browse files Browse the repository at this point in the history
  • Loading branch information
offspring committed Aug 29, 2024
1 parent fc39abd commit 7f9b646
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ReactESP.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,12 @@ class ReactESP {
}
}

// Disabling copy and move semantics
ReactESP(const ReactESP&) = delete;
ReactESP(ReactESP&&) = delete;
ReactESP& operator=(const ReactESP&) = delete;
ReactESP& operator=(ReactESP&&) = delete;

void tick();

/// Static singleton reference to the instantiated ReactESP object
Expand Down

0 comments on commit 7f9b646

Please sign in to comment.