diff --git a/base/base_tests/thread_pool_computational_tests.cpp b/base/base_tests/thread_pool_computational_tests.cpp index 630bab57ee..513c3c0a0a 100644 --- a/base/base_tests/thread_pool_computational_tests.cpp +++ b/base/base_tests/thread_pool_computational_tests.cpp @@ -105,7 +105,7 @@ UNIT_TEST(ThreadPoolComputational_ManyTasks) { for (size_t t = 0; t < kTimes; ++t) { - size_t taskCount = 11; + size_t const taskCount = 11; std::atomic counter{0}; { base::thread_pool::computational::ThreadPool threadPool(4); diff --git a/base/thread_pool_computational.hpp b/base/thread_pool_computational.hpp index 63bd40d5d0..66788c9979 100644 --- a/base/thread_pool_computational.hpp +++ b/base/thread_pool_computational.hpp @@ -1,4 +1,3 @@ -// This file contains ThreadPool class. #pragma once #include "base/assert.hpp"