From 030d515ccd7ff56097b33aa42dbad401cfa16478 Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Mon, 2 Mar 2015 11:49:32 +0100 Subject: [PATCH] removed cpplint warnings --- algorithms_cpp/include/embb/algorithms/internal/scan-inl.h | 2 +- algorithms_cpp/test/for_each_test.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/algorithms_cpp/include/embb/algorithms/internal/scan-inl.h b/algorithms_cpp/include/embb/algorithms/internal/scan-inl.h index ab2a21b..3e645af 100644 --- a/algorithms_cpp/include/embb/algorithms/internal/scan-inl.h +++ b/algorithms_cpp/include/embb/algorithms/internal/scan-inl.h @@ -180,7 +180,7 @@ void ScanIteratorCheck(RAIIn first, RAIIn last, RAIOut output_iterator, if (num_cores == 0) { EMBB_THROW(embb::base::ErrorException, "No cores in execution policy"); } - + ReturnType values[MTAPI_NODE_MAX_TASKS_DEFAULT]; if (block_size == 0) { block_size = static_cast(distance) / num_cores; diff --git a/algorithms_cpp/test/for_each_test.cc b/algorithms_cpp/test/for_each_test.cc index 3ea68aa..3a0e303 100644 --- a/algorithms_cpp/test/for_each_test.cc +++ b/algorithms_cpp/test/for_each_test.cc @@ -205,7 +205,7 @@ void ForEachTest::TestPolicy() { for (size_t i = 0; i < count; i++) { PT_EXPECT_EQ(vector[i], init[i]*init[i]); } - + vector = init; ForEach(vector.begin(), vector.end(), Square(), ExecutionPolicy(true, 1)); for (size_t i = 0; i < count; i++) { -- libgit2 0.26.0