We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b3f23 commit 9db8ae8Copy full SHA for 9db8ae8
src/common/isc_s_proto.h
@@ -386,6 +386,9 @@ class SharedMutexGuard
386
m_locked = false;
387
}
388
389
+ SharedMutexGuard(const SharedMutexGuard&) = delete;
390
+ SharedMutexGuard& operator=(const SharedMutexGuard&) = delete;
391
+
392
bool tryLock() {
393
m_locked = m_shmem->mutexLockCond();
394
return m_locked;
@@ -412,9 +415,6 @@ class SharedMutexGuard
412
415
413
416
414
417
private:
- SharedMutexGuard(const SharedMutexGuard&);
- SharedMutexGuard& operator=(const SharedMutexGuard&);
-
418
SharedMemoryBase* m_shmem;
419
bool m_locked;
420
};
0 commit comments