Subversion Repositories HomeAutomation

Rev

Rev 1647 | Rev 1656 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1647 Rev 1652
Line 94... Line 94...
94
        std::cerr << e.what() << std::endl;
94
        std::cerr << e.what() << std::endl;
95
        std::cout << this->command_line_ << std::endl;
95
        std::cout << this->command_line_ << std::endl;
96
        return false;
96
        return false;
97
    }
97
    }
98
   
98
   
99
    std::ifstream ifs(this->GetAsString("file").c_str());
99
    std::ifstream ifs(this->GetAsString("file").data());
100
       
100
       
101
    if (!ifs.is_open())
101
    if (!ifs.is_open())
102
    {
102
    {
103
        std::cerr << "Error: Could not find " << this->GetAsString("file") << std::endl;
103
        std::cerr << "Error: Could not find " << this->GetAsString("file") << std::endl;
104
        return false;
104
        return false;