diff options
author | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2015-11-20 14:24:30 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-01-05 08:46:51 +0000 |
commit | aea5e3971986b4beba395985108fcad2c0c98c37 (patch) | |
tree | f00383de5c29c686150aad76ccf955e667d7c08b /src/bluetooth | |
parent | 9d3e7e9c2edb38a6bca9bb6c1cdef02c0a329ec4 (diff) |
Remove yet another implementation of AutoreleasePool's RAII
Now we have this class in QtCore, no need in my "home-made" version anymore.
Change-Id: Id26944dd6970cc2a8ac9d02675f8af9adecc3d44
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth')
-rw-r--r-- | src/bluetooth/osx/osxbtutility_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bluetooth/osx/osxbtutility_p.h b/src/bluetooth/osx/osxbtutility_p.h index 3506b0d1..8816d6f3 100644 --- a/src/bluetooth/osx/osxbtutility_p.h +++ b/src/bluetooth/osx/osxbtutility_p.h @@ -94,8 +94,7 @@ public: } }; -typedef ObjCScopedPointer<NSAutoreleasePool> AutoreleasePool; -#define QT_BT_MAC_AUTORELEASEPOOL const OSXBluetooth::AutoreleasePool pool([[NSAutoreleasePool alloc] init]) +#define QT_BT_MAC_AUTORELEASEPOOL const QMacAutoReleasePool pool; template<class T> class ObjCStrongReference { |