Changeset 1377 in SHVCSoftware for branches/SHM-dev/source/Lib/TAppCommon


Ignore:
Timestamp:
23 Jul 2015, 01:02:36 (10 years ago)
Author:
seregin
Message:

dynamic memory allocation at encoder

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  
    294294      if (!found)
    295295      {
     296#if 1 //SVC_EXTENSION
     297        if( error_reporter.verbose )
     298#endif
    296299        error_reporter.error(where())
    297300          << "Unknown option `" << name << "' (value:`" << value << "')\n";
  • branches/SHM-dev/source/Lib/TAppCommon/program_options_lite.h

    r1301 r1377  
    6666    struct ErrorReporter
    6767    {
    68       ErrorReporter() : is_errored(0) {}
     68      ErrorReporter()
     69      : is_errored(0)
     70#if 1 //SVC_EXTENSION
     71      , verbose(true)
     72#endif
     73      {}
    6974      virtual ~ErrorReporter() {}
    7075      virtual std::ostream& error(const std::string& where);
    7176      virtual std::ostream& warn(const std::string& where);
    7277      bool is_errored;
     78#if 1 //SVC_EXTENSION
     79      bool verbose;
     80#endif
    7381    };
    7482
Note: See TracChangeset for help on using the changeset viewer.