forked from mia/Aegisub
Make agi::Signal uncopyable
Originally committed to SVN as r5076.
This commit is contained in:
parent
a566955047
commit
5920c3124b
1 changed files with 5 additions and 0 deletions
|
@ -110,7 +110,12 @@ namespace detail {
|
|||
/// @brief Disconnect the passed slot from the signal
|
||||
/// @param tok Token to disconnect
|
||||
virtual void Disconnect(ConnectionToken *tok)=0;
|
||||
|
||||
/// Signals can't be copied
|
||||
SignalBase(SignalBase const&);
|
||||
SignalBase& operator=(SignalBase const&);
|
||||
protected:
|
||||
SignalBase() { }
|
||||
/// @brief Notify a slot that it has been disconnected
|
||||
/// @param tok Token to disconnect
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue