From 91ba464409894c0215e54f086722309b9634d6f2 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 22 Feb 2023 15:15:43 +0100 Subject: cleanup: Fix typos in code line comments and logging messages --- src/buildtool/multithreading/async_map_consumer.hpp | 4 ++-- src/buildtool/multithreading/notification_queue.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/buildtool/multithreading') diff --git a/src/buildtool/multithreading/async_map_consumer.hpp b/src/buildtool/multithreading/async_map_consumer.hpp index c79f0964..3dcc0eff 100644 --- a/src/buildtool/multithreading/async_map_consumer.hpp +++ b/src/buildtool/multithreading/async_map_consumer.hpp @@ -40,8 +40,8 @@ using AsyncMapConsumerLoggerPtr = std::shared_ptr; // ready. As template parameters, it takes the type that keys will have, the // type that their corresponding values will have and the type of the underlying // thread-safe associative container. The default thread-safe associative -// container is AsyncMap and any substite must have the same public -// interface to be used in AsyncMapConsumer. +// container is AsyncMap and any substitute must have the same +// public interface to be used in AsyncMapConsumer. template > class AsyncMapConsumer { public: diff --git a/src/buildtool/multithreading/notification_queue.hpp b/src/buildtool/multithreading/notification_queue.hpp index 80b5ba92..1df5d659 100644 --- a/src/buildtool/multithreading/notification_queue.hpp +++ b/src/buildtool/multithreading/notification_queue.hpp @@ -149,7 +149,7 @@ class NotificationQueue { } // Method to communicate to the notification queue that there will not be - // any more queries. Queries after calling this method are not guaratied to + // any more queries. Queries after calling this method are not guarantied to // work as expected void done() { { -- cgit v1.2.3