From bf62c120253b3d03e3c1736eaa955d2f571a88f5 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Mon, 4 Mar 2024 14:07:15 +0100 Subject: [PATCH] Fix swig/std_unique_ptr.i Fixes some `used without template arguments` errors when running swig with `-builtin` or `-keyword`. --- swig/std_unique_ptr.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swig/std_unique_ptr.i b/swig/std_unique_ptr.i index c44513bcee..f73babfd9e 100644 --- a/swig/std_unique_ptr.i +++ b/swig/std_unique_ptr.i @@ -17,7 +17,7 @@ namespace std { pointer operator-> () const; pointer release (); - void reset (pointer __p=pointer()); + void reset (pointer __p=std::unique_ptr::pointer()); void swap (unique_ptr &__u); pointer get () const; operator bool () const;