Skip to content

Commit bdb4315

Browse files
committed
Revert "util: fix clang-tidy modernize-use-equals-default error"
This reverts commit 753d2b1.
1 parent aaf1db6 commit bdb4315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mp/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class MP_CAPABILITY("mutex") Mutex {
170170
class MP_SCOPED_CAPABILITY Lock {
171171
public:
172172
explicit Lock(Mutex& m) MP_ACQUIRE(m) : m_lock(m.m_mutex) {}
173-
~Lock() MP_RELEASE() = default;
173+
~Lock() MP_RELEASE() {}
174174
void unlock() MP_RELEASE() { m_lock.unlock(); }
175175
void lock() MP_ACQUIRE() { m_lock.lock(); }
176176
void assert_locked(Mutex& mutex) MP_ASSERT_CAPABILITY() MP_ASSERT_CAPABILITY(mutex)

0 commit comments

Comments
 (0)