Skip to content

Commit

Permalink
Fix r value reference
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliom committed Jul 23, 2024
1 parent c9423bf commit 9afc5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BasicRenderer/source/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace BasicRenderer
// deltaTime not used because of buffered input
while (inputMgr.Empty() == false)
{
auto& event = inputMgr.PopFrontEvent();
auto event = inputMgr.PopFrontEvent();

switch (event->GetCategory())
{
Expand Down

0 comments on commit 9afc5e7

Please sign in to comment.