Changeset 291 in flair-src for trunk/demos/OpticalFlow/uav/src/main.cpp


Ignore:
Timestamp:
Jan 9, 2019, 1:58:48 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

add exit failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/OpticalFlow/uav/src/main.cpp

    r137 r291  
    106106        address=addressArg.getValue();
    107107
    108         } catch (ArgException &e)  // catch any exceptions
    109         { cerr << "error: " << e.error() << " for arg " << e.argId() << endl; }
     108        } catch (ArgException &e) {
     109        cerr << "error: " << e.error() << " for arg " << e.argId() << endl;
     110        exit(EXIT_FAILURE);
     111    }
    110112}
Note: See TracChangeset for help on using the changeset viewer.