Prevent SWIG from trying to call delete on a std::unique_ptr.

This commit is contained in:
John Ralls 2021-02-18 17:28:17 -08:00
parent 08d1eebba2
commit 53ad0ba440

View File

@ -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.
};
}