mirror of
https://github.com/Rayerd/dfl.git
synced 2025-04-26 13:09:57 +03:00
Fix Event.opOpAssign
This commit is contained in:
parent
ca6e4e7458
commit
1bb4796853
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ template Event(T1, T2) // docmain
|
|||
|
||||
|
||||
/// Shortcut for addHandler().
|
||||
void opOpAssign(string op, TDG)(TDG handler)
|
||||
void opOpAssign(string op, TDG)(TDG handler) if (op == "~")
|
||||
{
|
||||
addHandler(toDelegate(handler));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue