修复Twpp 库bug

This commit is contained in:
lovelyyoung 2020-07-26 17:04:00 +08:00
parent a778e653c7
commit 93d0290c43
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public:
/// Locks and returns pointer to custom data memory.
template<typename T = void>
Data<T> lock() const noexcept{
return Data<T>(m_handle);
return Data<T>(m_handle.get());
}
/// The size of contained memory block.