Skip to content
Commit e55dd2bd authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

QueryMatch: Avoid usage of recursive QReadWriteLock

Just like with a recursive mutex, this comes with a performance cost.
In our case, we only needed it for one function. This can be easily
moved to the d-ptr and the locking code is in the public class.

Also, don't create a pointer that we have to clean up manually, instead,
define it as a normal member variable and get its address when
constructing the lock.
parent 8956b8cd
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