Removed unique_ref::release() because it would break the guarantee
This commit is contained in:
parent
3d5b9e9815
commit
2205f1cabc
@ -43,10 +43,6 @@ public:
|
||||
return _target.get();
|
||||
}
|
||||
|
||||
T* release() {
|
||||
return _target.release();
|
||||
}
|
||||
|
||||
void swap(unique_ref&& rhs) {
|
||||
_target.swap(rhs._target);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user