Commit 51ba22ebf842618b2caf12a131764b8bc6b0007a
1 parent
4ed5ddb9
*** empty log message ***
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
anubis_dev/library/examples/OOCounter.cpp
| ... | ... | @@ -22,9 +22,9 @@ class OOCounter |
| 22 | 22 | public: |
| 23 | 23 | OOCounter(int initial_value){ v = initial_value;} |
| 24 | 24 | int read(void) { return v;} |
| 25 | - void increment { v++;} | |
| 26 | - void decrement { v--;} | |
| 25 | + void increment(void) { v++;} | |
| 26 | + void decrement(void) { v--;} | |
| 27 | 27 | |
| 28 | 28 | public: |
| 29 | 29 | int v; |
| 30 | -} | |
| 31 | 30 | \ No newline at end of file |
| 31 | +}; | |
| 32 | 32 | \ No newline at end of file | ... | ... |