Function reference

v1
Brett 2023-01-17 11:13:48 -05:00
parent 30eb1938cc
commit 12ec6a9334
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class window {
virtual inline void closeWindow(){
m_windowOpen = false;
}
virtual inline void registerLoopFunction(std::function<void(window*)> func) {
virtual inline void registerLoopFunction(const std::function<void(window*)>& func) {
renderFunctions.push_back(func);
}