Skip to content

Commit 9137994

Browse files
committed
Revert "CMemory: make operator void* as explicit"
This reverts commit 8b7099e.
1 parent 8b7099e commit 9137994

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/dynlibutils/memaddr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class CMemory
9696
constexpr CMemory(void* ptr = nullptr) : m_ptr(ptr) {}
9797

9898
/// Conversion operators.
99-
explicit constexpr operator void*() const noexcept { return GetPtr(); }
99+
constexpr operator void*() const noexcept { return GetPtr(); }
100100
constexpr operator std::uintptr_t() const noexcept { return GetAddr(); }
101101

102102
/// Compare operators.

0 commit comments

Comments
 (0)