]> git.ipfire.org Git - thirdparty/squid.git/commit
Replaced TidyPointer with std::unique_ptr.
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 8 Jul 2016 11:26:40 +0000 (23:26 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 8 Jul 2016 11:26:40 +0000 (23:26 +1200)
commit4447715e899b0fdb42ec734ac2283a409334d248
treed9a47ec8901091a91180a9428bce003e5c647c69
parent9ad528b8bd0f01f17eb67882ddec56cf1bdcab96
parent58a5291c0edbca2c38cba7a6c8fee1f86db25f36
Replaced TidyPointer with std::unique_ptr.

LockingPointer is now a stand-alone class that is understood (and
documented) as a typical shared pointer with OpenSSL-friendly object
importing methods. Replaced its TidyPointer::reset() abuse with an
explicit resetWithoutLocking() method after reviewing that all such
calls needed no locking indeed.