From 10aebfbcb717edab54340f3d609efef881b9fc25 Mon Sep 17 00:00:00 2001 From: Tobias Fuchs Date: Tue, 31 Mar 2015 23:05:39 +0200 Subject: [PATCH] Fixed cpplint warnings --- containers_cpp/test/queue_test-inl.h | 2 +- dataflow_cpp/test/dataflow_cpp_test_simple.cc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/containers_cpp/test/queue_test-inl.h b/containers_cpp/test/queue_test-inl.h index b871965..3e63930 100644 --- a/containers_cpp/test/queue_test-inl.h +++ b/containers_cpp/test/queue_test-inl.h @@ -290,7 +290,7 @@ QueueTestSingleThreadEnqueueDequeue_ThreadMethod() { } // Oversized amount should not be larger than the original capacity PT_ASSERT_LT(oversized_count, 2 * n_queue_size); - + // Dequeue the expected amount of elements for (int i = 0; i != n_queue_size; ++i) { element_t dequ(0, -1); diff --git a/dataflow_cpp/test/dataflow_cpp_test_simple.cc b/dataflow_cpp/test/dataflow_cpp_test_simple.cc index 80450b5..c2df7f7 100644 --- a/dataflow_cpp/test/dataflow_cpp_test_simple.cc +++ b/dataflow_cpp/test/dataflow_cpp_test_simple.cc @@ -160,8 +160,7 @@ void SimpleTest::TestBasic() { // with (max_queues + 1), see defect embb449 num_cores + 1, // max queues (default: 16) 1024, // queue capacity (default: 1024) - 4 // num priorities (default: 4) - ); + 4); // num priorities (default: 4) for (int ii = 0; ii < 10000; ii++) { ArraySink asink; -- libgit2 0.26.0