From 58300d08d5ea121d96ce1b53ff35a4264f3c0078 Mon Sep 17 00:00:00 2001 From: Andrea Blankenstijn Date: Sat, 14 Aug 2021 12:14:34 +0200 Subject: [PATCH] owner semantic "maybe be shared owner" (const shared_ptr&) --- examples/run.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/run.hpp b/examples/run.hpp index 793babe..df71449 100644 --- a/examples/run.hpp +++ b/examples/run.hpp @@ -26,7 +26,7 @@ concept WidgetType = std::derived_from; template void run_example( - const std::function, int, int)>& setup, + const std::function&, int, int)>& setup, int w = 3, int h = 3) { std::atexit(lib_exit);