move mutex calls to private section of MTPDevice

This commit is contained in:
Peter Hatina 2014-11-05 17:39:08 +01:00
parent 33bcca49f4
commit 6441a5d7e5
1 changed files with 1 additions and 1 deletions

View File

@ -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: