Changeset 1377 in SHVCSoftware for branches/SHM-dev/source/Lib/TAppCommon
- Timestamp:
- 23 Jul 2015, 01:02:36 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TAppCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TAppCommon/program_options_lite.cpp
r1301 r1377 294 294 if (!found) 295 295 { 296 #if 1 //SVC_EXTENSION 297 if( error_reporter.verbose ) 298 #endif 296 299 error_reporter.error(where()) 297 300 << "Unknown option `" << name << "' (value:`" << value << "')\n"; -
branches/SHM-dev/source/Lib/TAppCommon/program_options_lite.h
r1301 r1377 66 66 struct ErrorReporter 67 67 { 68 ErrorReporter() : is_errored(0) {} 68 ErrorReporter() 69 : is_errored(0) 70 #if 1 //SVC_EXTENSION 71 , verbose(true) 72 #endif 73 {} 69 74 virtual ~ErrorReporter() {} 70 75 virtual std::ostream& error(const std::string& where); 71 76 virtual std::ostream& warn(const std::string& where); 72 77 bool is_errored; 78 #if 1 //SVC_EXTENSION 79 bool verbose; 80 #endif 73 81 }; 74 82
Note: See TracChangeset for help on using the changeset viewer.