Skip to content

Commit d3fae08

Browse files
committed
disable move operations on Timer
update library.properties
1 parent 3f9085e commit d3fae08

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=arduino-timer-cpp17
2-
version=4.3.0
2+
version=4.5.0
33

44
author=Kevin P. Fleming
55
maintainer=Kevin P. Fleming

src/arduino-timer-cpp17.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ struct Timer
8787
Timer() = default;
8888
Timer(const Timer&) = delete;
8989
Timer& operator=(const Timer&) = delete;
90+
Timer(Timer&&) = delete;
91+
Timer& operator=(Timer&&) = delete;
9092

9193
// boolean to indicate whether this timer is active
9294
explicit operator bool() const noexcept

0 commit comments

Comments
 (0)