mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Prevent SWIG from trying to call delete on a std::unique_ptr.
This commit is contained in:
parent
08d1eebba2
commit
53ad0ba440
@ -24,7 +24,7 @@ namespace std {
|
||||
pointer get () const;
|
||||
// operator bool () const;
|
||||
|
||||
~unique_ptr();
|
||||
~unique_ptr() = delete; //Otherwise swig takes the unique_ptr and calls delete on it.
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user