Skip to content

Commit c3ed77d

Browse files
cppcheck, add const
1 parent b909e32 commit c3ed77d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpputest-for-qpcpp-lib/include/qevtUniquePtr.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ template <class EvtT> class QEvtUniquePtr {
6868

6969
explicit operator bool() const { return m_evt != nullptr; }
7070

71-
bool operator==(void* ptr) const { return ptr == m_evt; }
71+
bool operator==(void const * ptr) const { return ptr == m_evt; }
7272

73-
bool operator!=(void* ptr) const { return ptr != m_evt; }
73+
bool operator!=(void const * ptr) const { return ptr != m_evt; }
7474

7575
const EvtT* get() noexcept { return m_evt; }
7676

0 commit comments

Comments
 (0)