From 4b952749d16f93d781fb2b30237a5e9cc8248401 Mon Sep 17 00:00:00 2001 From: Dave Cridland Date: Sat, 3 Aug 2024 19:15:30 +0100 Subject: [PATCH] const ref for eptr --- sigslot/tasklet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigslot/tasklet.h b/sigslot/tasklet.h index eb9ebff..f8d9fa6 100644 --- a/sigslot/tasklet.h +++ b/sigslot/tasklet.h @@ -15,7 +15,7 @@ namespace sigslot { struct tracker { virtual void terminate() {} - virtual void exception(std::exception_ptr eptr) {} + virtual void exception(std::exception_ptr const & eptr) {} virtual ~tracker() {} }; template