aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/bits.cc
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-15 10:54:50 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-15 10:54:50 -0700
commit3fc3d598e7de5401e919823a8bc931fd4e81e761 (patch)
treecf6b25218aa5812cc41e3a0421098f920afe166b /fpga_interchange/bits.cc
parent34c511444eff51291fa732369e434ff687de310f (diff)
downloadnextpnr-tests-3fc3d598e7de5401e919823a8bc931fd4e81e761.tar.gz
nextpnr-tests-3fc3d598e7de5401e919823a8bc931fd4e81e761.tar.bz2
nextpnr-tests-3fc3d598e7de5401e919823a8bc931fd4e81e761.zip
Use NEXTPNR_NAMESPACE macro's now that headers are seperated.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/bits.cc')
-rw-r--r--fpga_interchange/bits.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpga_interchange/bits.cc b/fpga_interchange/bits.cc
index ac92edd..ef201b2 100644
--- a/fpga_interchange/bits.cc
+++ b/fpga_interchange/bits.cc
@@ -20,9 +20,9 @@
#include "gtest/gtest.h"
#include "bits.h"
-#include "nextpnr.h"
+#include "nextpnr_namespaces.h"
-namespace nextpnr {
+NEXTPNR_NAMESPACE_BEGIN
class BitsTest : public ::testing::Test
{
@@ -55,4 +55,4 @@ TEST_F(BitsTest, ctz)
}
}
-}; // namespace nextpnr
+NEXTPNR_NAMESPACE_END