Skip to content

Commit fc06e48

Browse files
author
Víctor Navarro González
committed
Added copy constructor
1 parent b47bc38 commit fc06e48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Delegate.h

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ class Delegate
5151

5252
~Delegate() = default;
5353

54+
Delegate(const Delegate &delegate)
55+
{
56+
functions = delegate.functions;
57+
}
58+
5459
template<typename ... Params>
5560
auto Invoke(Params ... params)
5661
{

0 commit comments

Comments
 (0)