aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/bits.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-15 18:48:10 +0000
committerGitHub <noreply@github.com>2021-03-15 18:48:10 +0000
commita751e0d9081477e33c620b5224ccd2026f2fa0cf (patch)
treecf6b25218aa5812cc41e3a0421098f920afe166b /fpga_interchange/bits.cc
parent34c511444eff51291fa732369e434ff687de310f (diff)
parent3fc3d598e7de5401e919823a8bc931fd4e81e761 (diff)
downloadnextpnr-tests-a751e0d9081477e33c620b5224ccd2026f2fa0cf.tar.gz
nextpnr-tests-a751e0d9081477e33c620b5224ccd2026f2fa0cf.tar.bz2
nextpnr-tests-a751e0d9081477e33c620b5224ccd2026f2fa0cf.zip
Merge pull request #7 from litghost/use_namespace
Use NEXTPNR_NAMESPACE macro's now that headers are seperated.
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