I've not understand exactly enough . Where is 'const' needed ?
This method changes state of object .

 

  _____  

From: Ivan Sidarau [mailto:notifications@github.com] 
Sent: Sunday, November 03, 2013 3:00 PM
To: sidorovis/cpp_craft_1013
Cc: PeterMoroz
Subject: Re: [cpp_craft_1013] all previous tasks in one pull request (#132)

 

In solutions/peter_moroz/puzzles-2/sources/task-25/Statistics-inl.h:

> @@ -0,0 +1,13 @@
> +#ifndef STATISTICS_INL_H_
> +#define STATISTICS_INL_H_
> +
> +inline void Statistics::IncrementCounter(MessageType id) {

const

-
Reply to this email directly or view
<https://github.com/sidorovis/cpp_craft_1013/pull/132/files#r7390569>  it on
GitHub.
<https://github.com/notifications/beacon/O7y4LvL-5wBGMo5Tflvq1m-4ZaL5V540nNJ
OdW5qhqShQxrRNzG5KVj-EtvAYB7R.gif>