Skip to content

Commit

Permalink
Fix useless temporary sf::Lock
Browse files Browse the repository at this point in the history
  • Loading branch information
vittorioromeo authored and eXpl0it3r committed Nov 19, 2021
1 parent 2888d9c commit c21e842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SFML/System/Android/ResourceStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ResourceStream::ResourceStream(const std::string& filename) :
m_file (NULL)
{
ActivityStates* states = getActivity(NULL);
Lock(states->mutex);
Lock lock(states->mutex);
m_file = AAssetManager_open(states->activity->assetManager, filename.c_str(), AASSET_MODE_UNKNOWN);
}

Expand Down

0 comments on commit c21e842

Please sign in to comment.