]> git.tdb.fi Git - libs/game.git/commit
Remove unnecessary std::ref invocations
authorMikko Rasa <tdb@tdb.fi>
Thu, 8 Jun 2023 08:26:48 +0000 (11:26 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 8 Jun 2023 08:26:48 +0000 (11:26 +0300)
commit6cb270c1fa7fd56c73a667ab0edb8383d4468b12
tree3129df916122215379110253961ab5f5c90f8ded
parent26eac0b33093d248c97f0f140ea9d1153bf814f7
Remove unnecessary std::ref invocations

I got confused by the std::thread constructor, which stores its arguments
in a tuple and creates copies without std::ref.  It's not needed in these
cases since the arguments are just forwarded directly.
source/game/director.cpp
source/game/reflection.h