diff options
Diffstat (limited to 'common/scope_lock.h')
-rw-r--r-- | common/scope_lock.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/scope_lock.h b/common/scope_lock.h index 7b6c9dcd..2f0f767c 100644 --- a/common/scope_lock.h +++ b/common/scope_lock.h @@ -22,7 +22,9 @@ #include <stdexcept> -namespace nextpnr { +#include "nextpnr_namespaces.h" + +NEXTPNR_NAMESPACE_BEGIN // Provides a simple RAII locking object. ScopeLock takes a lock when // constructed, and releases the lock on destruction or if "unlock_early" is @@ -60,6 +62,6 @@ template <typename LockingObject> class ScopeLock bool locked_; }; -}; // namespace nextpnr +NEXTPNR_NAMESPACE_END #endif /* SCOPE_LOCK_H */ |