summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/counter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/counter.h b/src/counter.h
index 978974d..e47475e 100644
--- a/src/counter.h
+++ b/src/counter.h
@@ -14,7 +14,7 @@ public:
return _count;
}
- int write(int new_count) {
+ void write(int new_count) {
_count = new_count;
}