From 12ec6a9334f4343e0815059070fc93ef86474633 Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 17 Jan 2023 11:13:48 -0500 Subject: [PATCH] Function reference --- include/blt/window/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blt/window/window.h b/include/blt/window/window.h index 9199fe1..101b0a4 100644 --- a/include/blt/window/window.h +++ b/include/blt/window/window.h @@ -50,7 +50,7 @@ class window { virtual inline void closeWindow(){ m_windowOpen = false; } - virtual inline void registerLoopFunction(std::function func) { + virtual inline void registerLoopFunction(const std::function& func) { renderFunctions.push_back(func); }