- Switched back to custom window management, taking another stab
- Refactored lang yet again, `fennec/lang` is now C++ language. `fennec/string` `fennec/filesystem` and `fennec/format` are now independent.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#ifndef FENNEC_MEMORY_POINTERS_H
|
||||
#define FENNEC_MEMORY_POINTERS_H
|
||||
|
||||
#include <fennec/langcpp/type_traits.h>
|
||||
#include <fennec/lang/type_traits.h>
|
||||
|
||||
namespace fennec
|
||||
{
|
||||
@@ -109,16 +109,7 @@ public:
|
||||
/// \brief Pointer Constructor, creates a unique_ptr that owns `ptr` with deleter `del`
|
||||
/// \param ptr The resource to own
|
||||
/// \param del The deleter
|
||||
explicit constexpr unique_ptr(pointer_t ptr, const delete_t& del)
|
||||
: _delete(del)
|
||||
, _handle(ptr) {
|
||||
}
|
||||
|
||||
///
|
||||
/// \brief Pointer Constructor, creates a unique_ptr that owns `ptr` with deleter `del`
|
||||
/// \param ptr The resource to own
|
||||
/// \param del The deleter
|
||||
explicit constexpr unique_ptr(pointer_t ptr, delete_t&& del = delete_t())
|
||||
explicit constexpr unique_ptr(pointer_t ptr, const delete_t& del = delete_t())
|
||||
: _delete(del)
|
||||
, _handle(ptr) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user