aboutsummaryrefslogtreecommitdiffstats
path: root/common/router1.cc
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-14 18:50:34 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-14 18:50:34 +0100
commitd9c3c117a38c8bc42cfb96255b4762965bc1611b (patch)
tree1822cebedf1e346defe28f0707de7332d45a92cc /common/router1.cc
parentd4a0feb1adb05b8b086422021cde152289e591a7 (diff)
downloadnextpnr-d9c3c117a38c8bc42cfb96255b4762965bc1611b.tar.gz
nextpnr-d9c3c117a38c8bc42cfb96255b4762965bc1611b.tar.bz2
nextpnr-d9c3c117a38c8bc42cfb96255b4762965bc1611b.zip
Revert "clang-format"
This reverts commit 8ca7a6da2525463be5be4ee9f62cfae0acc06b01.
Diffstat (limited to 'common/router1.cc')
-rw-r--r--common/router1.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/router1.cc b/common/router1.cc
index dc75a153..f7a7e8a2 100644
--- a/common/router1.cc
+++ b/common/router1.cc
@@ -136,6 +136,7 @@ struct Router
int thisVisitCnt = 0;
int thisVisitCntLimit = 0;
+
while (!queue.empty() && (thisVisitCntLimit == 0 || thisVisitCnt < thisVisitCntLimit)) {
QueuedWire qw = queue.top();
queue.pop();