mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
Changed unique() to underlying_type()
Added underlying_type() to etl::not_null<T*>
This commit is contained in:
parent
2d22dfe236
commit
3bc87f1045
@ -281,7 +281,7 @@ namespace etl
|
||||
//*********************************
|
||||
underlying_type& underlying()
|
||||
{
|
||||
return u_ptr;
|
||||
return etl::move(u_ptr);
|
||||
}
|
||||
|
||||
//*********************************
|
||||
@ -289,7 +289,7 @@ namespace etl
|
||||
//*********************************
|
||||
const underlying_type& underlying() const
|
||||
{
|
||||
return u_ptr;
|
||||
return etl::move(u_ptr);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user