From 93d0290c4381fe8d126a4cd4d9544d7135958245 Mon Sep 17 00:00:00 2001 From: lovelyyoung <1002639516@qq.com> Date: Sun, 26 Jul 2020 17:04:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DTwpp=20=E5=BA=93bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twpp/customdata.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twpp/customdata.hpp b/twpp/customdata.hpp index cac74aae..fb3e004c 100644 --- a/twpp/customdata.hpp +++ b/twpp/customdata.hpp @@ -51,7 +51,7 @@ public: /// Locks and returns pointer to custom data memory. template Data lock() const noexcept{ - return Data(m_handle); + return Data(m_handle.get()); } /// The size of contained memory block.