From 88c994ec08f6c5be8627587bf350c6fd719b2dd5 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Wed, 3 May 2017 23:09:23 +0100 Subject: Fix write() to void --- src/counter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-54-g00ecf