8000 noexcept requirement ScopeGuard by maierlars · Pull Request #14713 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

noexcept requirement ScopeGuard #14713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Sep 3, 2021
Prev Previous commit
Next Next commit
Fixing windows.
  • Loading branch information
maierlars committed Aug 31, 2021
commit 81e22bb01c9185cb38656ca6168a86870757f83f
4 changes: 2 additions & 2 deletions lib/Basics/Mutex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ bool Mutex::try_lock() noexcept { return TryAcquireSRWLockExclusive(&_mutex) !=
void Mutex::unlock() noexcept { ReleaseSRWLockExclusive(&_mutex); }

#ifdef ARANGODB_ENABLE_DEADLOCK_DETECTION
void Mutex::assertLockedByCurrentThread() noexcept {}
void Mutex::assertNotLockedByCurrentThread() noexcept {}
void Mutex::assertLockedByCurrentThread() const noexcept {}
void Mutex::assertNotLockedByCurrentThread() const noexcept {}
#endif

#endif
0