src/counter.h: add header guard

parent c50ac68c
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#ifndef COUNTER_H_
#define COUNTER_H_
#include "benchmark/benchmark.h" #include "benchmark/benchmark.h"
namespace benchmark { namespace benchmark {
...@@ -25,3 +28,5 @@ bool SameNames(UserCounters const& l, UserCounters const& r); ...@@ -25,3 +28,5 @@ bool SameNames(UserCounters const& l, UserCounters const& r);
} // end namespace internal } // end namespace internal
} // end namespace benchmark } // end namespace benchmark
#endif // COUNTER_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment