Ignore:
Timestamp:
Jul 28, 2014, 4:11:30 PM (10 years ago)
Author:
Marek Kurdej
Message:

ComponentBase: added addParameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/ProducerConsumerExample/ProducerExample.cpp

    r301 r312  
    2323    PACPUS_LOG_FUNCTION();
    2424
    25     namespace po = boost::program_options;
    26    
    27     addParameters()
    28         ("output-path", po::value<std::string>(&mOutputFileName)->default_value("producer.txt"), "set output file path")
    29     ;
     25    addParameter("output-path", value<std::string>(&mOutputFileName)->default_value("producer.txt"), "set output file path");
    3026}
    3127
Note: See TracChangeset for help on using the changeset viewer.