Revert "only require readlock in newUse that takes a Declaration*, to stay compatibl...
authorMilian Wolff <mail@milianw.de>
Fri, 12 Nov 2010 23:33:40 +0000 (00:33 +0100)
committerMilian Wolff <mail@milianw.de>
Fri, 12 Nov 2010 23:33:40 +0000 (00:33 +0100)
commit0de086c44368cba9dbed563d1cbab28341c9d573
treea2392f0ef883d58b011312b9c65c1aa3b282161b
parent83023bf239a7fae6721cba5c45eb4bb62c41fa05
Revert "only require readlock in newUse that takes a  Declaration*, to stay compatible with old code"

Seems like this code is currently not valid:

DUChainReadLock lockRead;
/* do something only requiring read lock */

DUChainWriteLock writeLock;
/* lock for write as well now */

Will have to ask david about it.

This reverts commit 83023bf239a7fae6721cba5c45eb4bb62c41fa05.
language/duchain/builders/abstractusebuilder.h