mirror of
https://github.com/phatina/simple-mtpfs
synced 2025-02-06 06:42:25 +00:00
move mutex calls to private section of MTPDevice
This commit is contained in:
parent
33bcca49f4
commit
6441a5d7e5
@ -57,10 +57,10 @@ public:
|
||||
int fileRemove(const std::string &path);
|
||||
int fileRename(const std::string &oldpath, const std::string &newpath);
|
||||
|
||||
private:
|
||||
void criticalEnter() { m_device_mutex.lock(); }
|
||||
void criticalLeave() { m_device_mutex.unlock(); }
|
||||
|
||||
private:
|
||||
bool enumStorages();
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user