From 620f8ba13686c8a5e5d55e3ea1ece9988a5d6139 Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Wed, 29 Oct 2025 19:26:20 +0300 Subject: [PATCH] ... --- asibfm700/asibfm700_netserver.cpp | 1 - asibfm700/asibfm700_netserver.h | 1 - asibfm700/asibfm700_servocontroller.h | 4 ++-- mcc/mcc_finite_state_machine.h | 4 ---- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/asibfm700/asibfm700_netserver.cpp b/asibfm700/asibfm700_netserver.cpp index e38309c..82e4e04 100644 --- a/asibfm700/asibfm700_netserver.cpp +++ b/asibfm700/asibfm700_netserver.cpp @@ -4,7 +4,6 @@ namespace asibfm700 { -template Asibfm700MountNetServer::Asibfm700MountNetServer(asio::io_context& ctx, Asibfm700Mount& mount, std::shared_ptr logger) diff --git a/asibfm700/asibfm700_netserver.h b/asibfm700/asibfm700_netserver.h index 1b61fca..a5d1ce6 100644 --- a/asibfm700/asibfm700_netserver.h +++ b/asibfm700/asibfm700_netserver.h @@ -138,7 +138,6 @@ class Asibfm700MountNetServer : public mcc::network::MccGenericMountNetworkServe using base_t = mcc::network::MccGenericMountNetworkServer; public: - template Asibfm700MountNetServer(asio::io_context& ctx, Asibfm700Mount& mount, std::shared_ptr logger); ~Asibfm700MountNetServer(); diff --git a/asibfm700/asibfm700_servocontroller.h b/asibfm700/asibfm700_servocontroller.h index 1374374..2b23874 100644 --- a/asibfm700/asibfm700_servocontroller.h +++ b/asibfm700/asibfm700_servocontroller.h @@ -105,8 +105,8 @@ public: AsibFM700ServoController(const AsibFM700ServoController&) = delete; AsibFM700ServoController& operator=(const AsibFM700ServoController&) = delete; - AsibFM700ServoController(AsibFM700ServoController&&); - AsibFM700ServoController& operator=(AsibFM700ServoController&&); + AsibFM700ServoController(AsibFM700ServoController&&) = default; + AsibFM700ServoController& operator=(AsibFM700ServoController&&) = default; ~AsibFM700ServoController(); diff --git a/mcc/mcc_finite_state_machine.h b/mcc/mcc_finite_state_machine.h index aa8aa44..5395796 100644 --- a/mcc/mcc_finite_state_machine.h +++ b/mcc/mcc_finite_state_machine.h @@ -396,10 +396,6 @@ public: [p_event, states, currentState, this](curr_state_t*) { using to_state_t = curr_state_t::transition_t::template find_state_by_event_t; - if (std::holds_alternative(*currentState)) { - // ?!!!! from self - } - if constexpr (!std::is_void_v) { std::lock_guard lock(_transitionMutex);