diff --git a/src/Memory/__OptionalBorrowedPtr.hpp b/src/Memory/__OptionalBorrowedPtr.hpp index ec70051..17958e7 100644 --- a/src/Memory/__OptionalBorrowedPtr.hpp +++ b/src/Memory/__OptionalBorrowedPtr.hpp @@ -19,7 +19,7 @@ namespace ArbUt { /// @brief Initialise a BorrowedPtr with a specific raw pointer. inline OptionalBorrowedPtr(T* ptr) : _raw(ptr){}; /// @brief Initialise a BorrowedPtr from a copy. - inline OptionalBorrowedPtr(const BorrowedPtr& other) : _raw(other._raw){}; + inline OptionalBorrowedPtr(const OptionalBorrowedPtr& other) : _raw(other._raw){}; /// @brief Initialise a BorrowedPtr with a std unique_ptr. inline OptionalBorrowedPtr(const std::unique_ptr& other) : _raw(other.get()){};