Mercurial > dedupe
view Apps/DeDupe.cpp @ 74:19d8825ec501
Add define for code that can never be reached.
To avoid the line being counted.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 16 Feb 2013 15:26:27 +0100 |
| parents | f711ddb56ae7 |
| children |
line wrap: on
line source
#include "DataController.hpp" #include "Exception/Exception.hpp" #include <QtGui/QApplication> #include <iostream> int main(int argc, char *argv[]) { try { QApplication app(argc, argv); DataController dc(true); return app.exec(); } catch (Exception& e) { std::cerr << "Unrecoverable error: " << e.toString().toStdString(); exit(1); } }
