mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fix useless temporary sf::Lock
This commit is contained in:
parent
2888d9c56e
commit
c21e842007
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user