Skip to content

Commit f8c2904

Browse files
committed
CMemory: remove const from void* operator
1 parent 637c830 commit f8c2904

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-
constexpr operator const 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)