File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ class Base : virtual public sigc::trackable
14
14
public:
15
15
Base () {}
16
16
17
+ Base (const Base& src) = default ;
18
+ Base& operator =(const Base& src) = default ;
17
19
Base (Base&& src) = delete ;
18
20
Base& operator =(Base&& src) = delete ;
19
21
};
@@ -47,11 +49,11 @@ main(int argc, char* argv[])
47
49
handler ();
48
50
util->check_result (result_stream, " method()" );
49
51
50
- auto param = sigc::bind (sigc::slot<void (Derived&)>(), std::ref (*instance));
52
+ sigc::slot< void ()> param = sigc::bind (sigc::slot<void (Derived&)>(), std::ref (*instance));
51
53
param ();
52
54
util->check_result (result_stream, " " );
53
55
54
- auto ret = sigc::bind_return (sigc::slot<void ()>(), std::ref (*instance));
56
+ sigc::slot< Derived ()> ret = sigc::bind_return (sigc::slot<void ()>(), std::ref (*instance));
55
57
ret ();
56
58
util->check_result (result_stream, " " );
57
59
You can’t perform that action at this time.
0 commit comments