From d0bc93bb44e56ad29ae5e3c5b4e79ef624f82ba8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sat, 4 Dec 2021 04:35:41 +0100 Subject: object.PinPointer --- vulkan/Utf8StringPointer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vulkan/Utf8StringPointer.cs') diff --git a/vulkan/Utf8StringPointer.cs b/vulkan/Utf8StringPointer.cs index 93ae3d3..943fe75 100644 --- a/vulkan/Utf8StringPointer.cs +++ b/vulkan/Utf8StringPointer.cs @@ -12,7 +12,7 @@ namespace Vulkan Utf8StringPointer (IntPtr ptr) { handle = ptr; } - public Utf8StringPointer (string str) { + Utf8StringPointer (string str) { handle = str.PinPointer(); } public static implicit operator string (Utf8StringPointer pt) -- cgit v1.3.1-4-g156e