mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
Removed ctor that constructed an invalid CSlot
This commit is contained in:
@@ -83,11 +83,6 @@ namespace BlackMisc
|
||||
Q_ASSERT_X(object, Q_FUNC_INFO, "Need object");
|
||||
}
|
||||
|
||||
//! Construct a slot from the given object passing a function
|
||||
CSlot(std::function<R(Args...)> function) :
|
||||
m_function(function)
|
||||
{}
|
||||
|
||||
//! Construct a slot from the given object passing a function and a object
|
||||
template <typename T>
|
||||
CSlot(T *object, std::function<R(Args...)> function) :
|
||||
|
||||
Reference in New Issue
Block a user