FastSignals: Fix Clang Tidy issues.

This commit is contained in:
Joao Matos
2025-08-24 19:08:31 +01:00
committed by tritao
parent 855979acd5
commit 85e85db7ea
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
#pragma once
#include <functional>
#include <memory>
#include <type_traits>
namespace fastsignals
{
namespace detail
@@ -14,7 +18,7 @@ struct weak_binder
weak_binder(MethodType pMethod, WeakPtrType&& pObject)
: m_pMethod(pMethod)
, m_pObject(pObject)
, m_pObject(std::move(pObject))
{
}

View File

@@ -19,6 +19,7 @@ public:
connection& operator=(const connection& other) noexcept;
connection(connection&& other) noexcept;
connection& operator=(connection&& other) noexcept;
~connection() = default;
bool connected() const noexcept;
void disconnect() noexcept;
@@ -49,6 +50,7 @@ public:
advanced_connection& operator=(const advanced_connection&) noexcept;
advanced_connection(advanced_connection&& other) noexcept;
advanced_connection& operator=(advanced_connection&& other) noexcept;
~advanced_connection() = default;
protected:
impl_ptr m_impl;