Removed unique_ref::release() because it would break the guarantee

This commit is contained in:
Sebastian Messmer 2015-06-17 01:01:50 +02:00
parent 3d5b9e9815
commit 2205f1cabc

View File

@ -43,10 +43,6 @@ public:
return _target.get(); return _target.get();
} }
T* release() {
return _target.release();
}
void swap(unique_ref&& rhs) { void swap(unique_ref&& rhs) {
_target.swap(rhs._target); _target.swap(rhs._target);
} }