From c49fc441557fa9ae71f993e420a01a19de5e5e28 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 16 Apr 2026 21:59:06 +0100 Subject: Default the fake pointer methods to ssize_t. --- src/extensible.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extensible.cpp') diff --git a/src/extensible.cpp b/src/extensible.cpp index 40af97236..e961f3dd9 100644 --- a/src/extensible.cpp +++ b/src/extensible.cpp @@ -25,13 +25,13 @@ namespace { // These templates are used by BoolExtItem and IntExtItem to allow storing a // value within the pointer address of a shared pointer. - template + template ExtensionPtr CreateFakePointer(T value) { return ExtensionPtr(reinterpret_cast(value), [](auto*) { }); } - template + template T GetFakePointer(const ExtensionPtr* ptr) { return ptr ? reinterpret_cast(ptr->get()) : T(); -- cgit v1.3.1-10-gc9f91