diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 18:50:34 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 18:50:34 +0100 |
commit | d9c3c117a38c8bc42cfb96255b4762965bc1611b (patch) | |
tree | 1822cebedf1e346defe28f0707de7332d45a92cc /common/nextpnr.cc | |
parent | d4a0feb1adb05b8b086422021cde152289e591a7 (diff) | |
download | nextpnr-d9c3c117a38c8bc42cfb96255b4762965bc1611b.tar.gz nextpnr-d9c3c117a38c8bc42cfb96255b4762965bc1611b.tar.bz2 nextpnr-d9c3c117a38c8bc42cfb96255b4762965bc1611b.zip |
Revert "clang-format"
This reverts commit 8ca7a6da2525463be5be4ee9f62cfae0acc06b01.
Diffstat (limited to 'common/nextpnr.cc')
-rw-r--r-- | common/nextpnr.cc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/common/nextpnr.cc b/common/nextpnr.cc index 33230db0..54df5de1 100644 --- a/common/nextpnr.cc +++ b/common/nextpnr.cc @@ -21,9 +21,16 @@ NEXTPNR_NAMESPACE_BEGIN -MutateContext BaseCtx::rwproxy(void) { return MutateContext(reinterpret_cast<Arch *>(this)); } +MutateContext BaseCtx::rwproxy(void) +{ + return MutateContext(reinterpret_cast<Arch *>(this)); +} + +ReadContext BaseCtx::rproxy(void) const +{ + return ReadContext(reinterpret_cast<const Arch *>(this)); +} -ReadContext BaseCtx::rproxy(void) const { return ReadContext(reinterpret_cast<const Arch *>(this)); } assertion_failure::assertion_failure(std::string msg, std::string expr_str, std::string filename, int line) : runtime_error("Assertion failure: " + msg + " (" + filename + ":" + std::to_string(line) + ")"), msg(msg), |