disable absl decorator in release

pull/953/head
Jeff Becker 5 years ago
parent 2eabe98d9b
commit c5f198cfa1
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -161,7 +161,10 @@ namespace llarp
{
template < typename F >
void
TryAccess(F visit) const LOCKS_EXCLUDED(_access)
TryAccess(F visit) const
#if defined(LOKINET_DEBUG)
LOCKS_EXCLUDED(_access)
#endif
{
#if defined(LOKINET_DEBUG)
NullLock lock(&_access);

Loading…
Cancel
Save