]> git.ipfire.org Git - thirdparty/squid.git/commit
Add assigment and move operators to LockingPointer
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 21 Sep 2015 14:26:03 +0000 (07:26 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 21 Sep 2015 14:26:03 +0000 (07:26 -0700)
commit89deb18612969e240f7d00be83eb6ce5961ff322
tree5f63f52bfe578227c5f3127f821ebe13709c3dd4
parent91574db515a2c47b9792c136053ed40691dfec34
Add assigment and move operators to LockingPointer

These operators are required to use LockingPointer instances in STL
containers and unlike TidyPointer the LockingPointer can do them safely
due to the lock preventing premature deletions.
src/security/LockingPointer.h