From 351ca3b5eac472b4bd08b11a4aa6fb67e545eda3 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 15 Mar 2021 10:25:46 -0700 Subject: Use NEXTPNR_NAMESPACE macro's now that headers are seperated. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- common/dynamic_bitarray.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'common/dynamic_bitarray.h') diff --git a/common/dynamic_bitarray.h b/common/dynamic_bitarray.h index 2b5ab2bc..605d59d5 100644 --- a/common/dynamic_bitarray.h +++ b/common/dynamic_bitarray.h @@ -17,18 +17,19 @@ * */ +#ifndef DYNAMIC_BITARRAY_H +#define DYNAMIC_BITARRAY_H + #include #include #include -// This class implements a simple dynamic bitarray, backed by some resizable -// random access storage. The default is to use a std::vector. - -#ifndef DYNAMIC_BITARRAY_H -#define DYNAMIC_BITARRAY_H +#include "nextpnr_namespaces.h" -namespace nextpnr { +NEXTPNR_NAMESPACE_BEGIN +// This class implements a simple dynamic bitarray, backed by some resizable +// random access storage. The default is to use a std::vector. template > class DynamicBitarray { public: @@ -76,6 +77,6 @@ template > class DynamicBitarray Storage storage; }; -}; // namespace nextpnr +NEXTPNR_NAMESPACE_END #endif /* DYNAMIC_BITARRAY_H */ -- cgit v1.2.3