Skip to content

Commit

Permalink
fix copy instead of reference
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaGW2 committed Jul 15, 2024
1 parent fd15323 commit 75a952d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Textures/TextureLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ int CTextureLoader::Verify(void* aStartAddress, void* aEndAddress)

const std::lock_guard<std::mutex> lock(this->Mutex);

for (QueuedTexture qTex : this->QueuedTextures)
for (QueuedTexture& qTex : this->QueuedTextures)
{
if (qTex.Callback >= aStartAddress && qTex.Callback <= aEndAddress)
{
Expand Down

0 comments on commit 75a952d

Please sign in to comment.