From 9552a32aef09bf0c16bf1a4449aaf6e46aee860c Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Mon, 19 Jan 2015 13:49:03 +0100 Subject: [PATCH] dataflow_cpp: removed cppcheck style warnings --- dataflow_cpp/test/dataflow_cpp_test_simple.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataflow_cpp/test/dataflow_cpp_test_simple.cc b/dataflow_cpp/test/dataflow_cpp_test_simple.cc index c474b98..db7c241 100644 --- a/dataflow_cpp/test/dataflow_cpp_test_simple.cc +++ b/dataflow_cpp/test/dataflow_cpp_test_simple.cc @@ -104,7 +104,7 @@ class ArraySink { Init(); } - void Print() { + void Print() const { std::cout << values_[0]; for (int ii = 1; ii < SIZE; ii++) { std::cout << ", " << values_[ii]; @@ -119,7 +119,7 @@ class ArraySink { pos_ = 0; } - bool Check() { + bool Check() const { for (int ii = 0; ii < SIZE; ii++) { int expected; if (0 == (ii % 2)) -- libgit2 0.26.0