FastSignals: Fix Clang Tidy issues.
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
#include <memory>
|
||||||
|
#include <type_traits>
|
||||||
|
|
||||||
namespace fastsignals
|
namespace fastsignals
|
||||||
{
|
{
|
||||||
namespace detail
|
namespace detail
|
||||||
@@ -14,7 +18,7 @@ struct weak_binder
|
|||||||
|
|
||||||
weak_binder(MethodType pMethod, WeakPtrType&& pObject)
|
weak_binder(MethodType pMethod, WeakPtrType&& pObject)
|
||||||
: m_pMethod(pMethod)
|
: m_pMethod(pMethod)
|
||||||
, m_pObject(pObject)
|
, m_pObject(std::move(pObject))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ public:
|
|||||||
connection& operator=(const connection& other) noexcept;
|
connection& operator=(const connection& other) noexcept;
|
||||||
connection(connection&& other) noexcept;
|
connection(connection&& other) noexcept;
|
||||||
connection& operator=(connection&& other) noexcept;
|
connection& operator=(connection&& other) noexcept;
|
||||||
|
~connection() = default;
|
||||||
|
|
||||||
bool connected() const noexcept;
|
bool connected() const noexcept;
|
||||||
void disconnect() noexcept;
|
void disconnect() noexcept;
|
||||||
@@ -49,6 +50,7 @@ public:
|
|||||||
advanced_connection& operator=(const advanced_connection&) noexcept;
|
advanced_connection& operator=(const advanced_connection&) noexcept;
|
||||||
advanced_connection(advanced_connection&& other) noexcept;
|
advanced_connection(advanced_connection&& other) noexcept;
|
||||||
advanced_connection& operator=(advanced_connection&& other) noexcept;
|
advanced_connection& operator=(advanced_connection&& other) noexcept;
|
||||||
|
~advanced_connection() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
impl_ptr m_impl;
|
impl_ptr m_impl;
|
||||||
|
|||||||
Reference in New Issue
Block a user