From 6c0ac8361c11168bfd31099f2ec857651cb31202 Mon Sep 17 00:00:00 2001 From: Michael D Starch <Michael.D.Starch@jpl.nasa.gov> Date: Fri, 27 Sep 2024 12:18:35 -0700 Subject: [PATCH] Linux fixes --- Os/Posix/ConditionVariable.hpp | 2 ++ Os/Queue.hpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Os/Posix/ConditionVariable.hpp b/Os/Posix/ConditionVariable.hpp index be8faaf7f80..6a6dcbabb9b 100644 --- a/Os/Posix/ConditionVariable.hpp +++ b/Os/Posix/ConditionVariable.hpp @@ -29,6 +29,8 @@ class PosixConditionVariable : public ConditionVariableInterface { //! ~PosixConditionVariable() override; + ConditionVariableInterface& operator=(const ConditionVariableInterface& other) override = delete; + //! \brief wait releasing mutex void wait(Os::Mutex& mutex) override; diff --git a/Os/Queue.hpp b/Os/Queue.hpp index 67be11a255b..d2b72d3c703 100644 --- a/Os/Queue.hpp +++ b/Os/Queue.hpp @@ -165,7 +165,7 @@ class Queue final : public QueueInterface { Queue(const Queue* other) = delete; //! \brief assignment operator is forbidden - Queue& operator=(const Queue& other) = delete; + QueueInterface& operator=(const QueueInterface& other) override = delete; //! \brief create queue storage through delegate //!