Remove non-constant accesor. We should not be able to modify the 2368
authorCorentin Chary <corentincj@iksaif.net>
Tue, 20 Apr 2010 08:06:13 +0000 (10:06 +0200)
committerCorentin Chary <corentincj@iksaif.net>
Tue, 20 Apr 2010 08:06:13 +0000 (10:06 +0200)
commitb80e6c4899b652a4296db35d9197b12e3e1d55e1
tree2560d0fbc3b53850df22fe945a0347625f0433e9
parentc94efa9924729301e43166b3150644d1878fa071
Remove non-constant accesor. We should not be able to modify the
head, because this can change its priority. If someone really want
to do that, he can use QPriorityQueue<T *> instead of QPriorityQueue<T>.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
src/corelib/tools/qpriorityqueue.h