summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2017-05-03 23:09:23 +0100
committerVasil Zlatanov <v@skozl.com>2017-05-03 23:09:23 +0100
commit88c994ec08f6c5be8627587bf350c6fd719b2dd5 (patch)
tree3b80538f40afa76e39fe6434d229f8068290c9f6
parenta4ebe5ffd1d6e1122bad5ea1c28177528df8f62d (diff)
downloade2-switch-88c994ec08f6c5be8627587bf350c6fd719b2dd5.tar.gz
e2-switch-88c994ec08f6c5be8627587bf350c6fd719b2dd5.tar.bz2
e2-switch-88c994ec08f6c5be8627587bf350c6fd719b2dd5.zip
Fix write() to void
-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;
}