Changeset 1515 for trunk/third_party/tclap/ArgException.h
- Timestamp:
- 24/08/10 11:23:06 (21 months ago)
- File:
-
- 1 edited
-
trunk/third_party/tclap/ArgException.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/third_party/tclap/ArgException.h
r857 r1515 1 // -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- 1 2 2 3 /****************************************************************************** … … 79 80 const char* what() const throw() 80 81 { 81 std::string ex = _argId + " -- " + _errorText; 82 static std::string ex; 83 ex = _argId + " -- " + _errorText; 82 84 return ex.c_str(); 83 85 } … … 183 185 }; 184 186 187 class ExitException { 188 public: 189 ExitException(int estat) : _estat(estat) {} 190 191 int getExitStatus() const { return _estat; } 192 193 private: 194 int _estat; 195 }; 196 185 197 } // namespace TCLAP 186 198
Note: See TracChangeset
for help on using the changeset viewer.
