From: khizmax Date: Mon, 20 Oct 2014 06:35:26 +0000 (+0400) Subject: Fix CDS_NOEXCEPT X-Git-Tag: v2.0.0~194 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=74e081695a9fe0f6623874d3feb810c6526239cf;p=libcds.git Fix CDS_NOEXCEPT --- diff --git a/cds/lock/spinlock.h b/cds/lock/spinlock.h index 139a2bd3..b5bf19ed 100644 --- a/cds/lock/spinlock.h +++ b/cds/lock/spinlock.h @@ -126,7 +126,7 @@ namespace cds { Returns \p true if locking is succeeded otherwise (if the spin is already locked) returns \p false */ - bool try_lock( unsigned int nTryCount ) CDS_NOEXCEPT( noexcept( backoff_strategy()() ) ) + bool try_lock( unsigned int nTryCount ) CDS_NOEXCEPT_( noexcept( backoff_strategy()() ) ) { backoff_strategy backoff; while ( nTryCount-- ) { @@ -138,7 +138,7 @@ namespace cds { } /// Lock the spin-lock. Waits infinitely while spin-lock is locked. Debug version: deadlock may be detected - void lock() CDS_NOEXCEPT(noexcept( backoff_strategy()() )) + void lock() CDS_NOEXCEPT_(noexcept( backoff_strategy()() )) { backoff_strategy backoff;