Skip to content

Commit 4b95274

Browse files
committed
const ref for eptr
1 parent e3a0dc8 commit 4b95274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigslot/tasklet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace sigslot {
1515

1616
struct tracker {
1717
virtual void terminate() {}
18-
virtual void exception(std::exception_ptr eptr) {}
18+
virtual void exception(std::exception_ptr const & eptr) {}
1919
virtual ~tracker() {}
2020
};
2121
template<typename T, typename ...Args>

0 commit comments

Comments
 (0)