diff options
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/chip.h | 17 | ||||
-rw-r--r-- | ice40/main.cc | 7 |
2 files changed, 14 insertions, 10 deletions
diff --git a/ice40/chip.h b/ice40/chip.h index 05ef2754..3125b17f 100644 --- a/ice40/chip.h +++ b/ice40/chip.h @@ -173,12 +173,17 @@ struct BelIterator { int cursor; - BelIterator operator++() { cursor++; return *this; } - BelIterator operator++(int) { - BelIterator prior(*this); - cursor++; - return prior; - } + BelIterator operator++() + { + cursor++; + return *this; + } + BelIterator operator++(int) + { + BelIterator prior(*this); + cursor++; + return prior; + } bool operator!=(const BelIterator &other) const { diff --git a/ice40/main.cc b/ice40/main.cc index 68089ffb..d50f72e0 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -23,11 +23,11 @@ #include "design.h" #include "jsonparse.h" #include "log.h" +#include "log.h" #include "mainwindow.h" +#include "place.h" #include "pybindings.h" #include "version.h" -#include "log.h" -#include "place.h" void svg_dump_el(const GraphicElement &el) { @@ -244,7 +244,7 @@ int main(int argc, char *argv[]) std::istream *f = new std::ifstream(filename); parse_json_file(f, filename, &design); - place_design(&design); + place_design(&design); } if (vm.count("run")) { @@ -254,7 +254,6 @@ int main(int argc, char *argv[]) execute_python_file(filename.c_str()); } - if (vm.count("gui")) { QApplication a(argc, argv); MainWindow w; |