Changeset 11349 for trunk


Ignore:
Timestamp:
07/11/11 17:33:50 (13 years ago)
Author:
tbretz
Message:
Fixed variable names.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Main.h

    r11346 r11349  
    6767    boost::thread t(boost::bind(MainThread, &io_service, dummy));
    6868
    69     const vector<string> v = conf.Vec<string>("cmd");
    70     for (vector<string>::const_iterator it=v.begin(); it!=v.end(); it++)
     69    const vector<string> v1 = conf.Vec<string>("cmd");
     70    for (vector<string>::const_iterator it=v1.begin(); it!=v1.end(); it++)
    7171        shell.ProcessLine(*it);
    7272
    73     const vector<string> v = conf.Vec<string>("exec");
    74     for (vector<string>::const_iterator it=v.begin(); it!=v.end(); it++)
     73    const vector<string> v2 = conf.Vec<string>("exec");
     74    for (vector<string>::const_iterator it=v2.begin(); it!=v2.end(); it++)
    7575        shell.Execute(*it);
    7676
Note: See TracChangeset for help on using the changeset viewer.