]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2581] Addressed review comments
authorThomas Markwalder <tmark@isc.org>
Mon, 3 Oct 2022 19:33:59 +0000 (15:33 -0400)
committerThomas Markwalder <tmark@isc.org>
Mon, 3 Oct 2022 19:33:59 +0000 (15:33 -0400)
Minor spacing stuff

src/lib/asiolink/io_service_thread_pool.cc
src/lib/asiolink/tests/io_service_thread_pool_unittests.cc

index 3f930a46b4a6c5caea3ed55325834862fb54c79c..8baf7208407f50aa7615186f8ca246f7d7c725a3 100644 (file)
@@ -28,7 +28,7 @@ using namespace isc::asiolink;
 using namespace isc::util;
 
 IoServiceThreadPool::IoServiceThreadPool(IOServicePtr io_service, size_t pool_size,
-                               bool defer_start /* = false */)
+                                         bool defer_start /* = false */)
     : pool_size_(pool_size), io_service_(io_service),
       run_state_(State::STOPPED), mutex_(), thread_cv_(),
       main_cv_(), paused_(0), running_(0), exited_(0)  {
index 496f3cfe87331b7c63887a5759cfdd96ddd5e6cc..a9daec1e1f1145833e392099c084319056af9a9d 100644 (file)
@@ -45,8 +45,8 @@ TEST_F(IoServiceThreadPoolTest, invalidConstruction) {
     IoServiceThreadPoolPtr pool;
 
     // Constructing with pool size of 0 should fail.
-    ASSERT_THROW_MSG(pool.reset(new IoServiceThreadPool(io_service_, 0)), BadValue,
-                     "pool_size must be non 0");
+    ASSERT_THROW_MSG(pool.reset(new IoServiceThreadPool(io_service_, 0)),
+                     BadValue, "pool_size must be non 0");
 }
 
 // Verifies that a pool can be created without starting it.