Commit 928f7f21 authored by Albert Astals Cid's avatar Albert Astals Cid

delete copy constructor and assignment operator of some internal classes

they are unused, but if anyone would use them things would go wrong, so
protect us from it
parent 8b295dbd
......@@ -216,6 +216,8 @@ private:
{
m_mem->unlock();
}
Unlocker(const Unlocker &) = delete;
Unlocker &operator=(const Unlocker &) = delete;
private:
QSharedMemory *m_mem;
};
......@@ -227,6 +229,8 @@ private:
{
m_sem->release();
}
Releaser(const Releaser &) = delete;
Releaser &operator=(const Releaser &) = delete;
private:
QSystemSemaphore *m_sem;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment