From f99b38476062c1df90c1fe3e828e29cfc193a5f3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Jun 2026 22:11:38 +0200 Subject: upgrade to `using` instead of typedef --- test/unit_tests/shared/command.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/unit_tests/shared/command.hpp') diff --git a/test/unit_tests/shared/command.hpp b/test/unit_tests/shared/command.hpp index 4ba9385..a24370a 100644 --- a/test/unit_tests/shared/command.hpp +++ b/test/unit_tests/shared/command.hpp @@ -52,15 +52,15 @@ public: fixed_size::StringList<> console_buffer; }; - typedef winapi::SharedObject Shared; + using Shared = winapi::SharedObject; - typedef boost::interprocess::interprocess_mutex mutex; - typedef boost::interprocess::interprocess_condition condition_variable; - typedef boost::interprocess::scoped_lock lock; + using mutex = boost::interprocess::interprocess_mutex; + using condition_variable = boost::interprocess::interprocess_condition; + using lock = boost::interprocess::scoped_lock; - typedef std::function SetArgs; - typedef std::function ReadResult; - typedef std::function ProcessAction; + using SetArgs = std::function; + using ReadResult = std::function; + using ProcessAction = std::function; static Shared create() { return Shared::create(COMMAND_SHMEM_NAME); } static Shared open() { return Shared::open(COMMAND_SHMEM_NAME); } -- cgit v1.3