Code review comment for lp:~vjsamuel/drizzle/refactor-drizzleslap

Revision history for this message
Brian Aker (brianaker) wrote :

- ifstream system_slap_ifs(system_config_dir_slap);
+ ifstream system_slap_ifs(system_config_dir_slap.c_str());
   store(parse_config_file(system_slap_ifs, slap_options), vm);

   ifstream user_client_ifs("~/.drizzle/client.cnf");
   po::store(parse_config_file(user_client_ifs, client_options), vm);

- ifstream system_client_ifs(system_config_dir_client);
+ ifstream system_client_ifs(system_config_dir_client.c_str());

ifstream() takes a C-style string, not std::string.

Cheers,
   -Brian

review: Needs Fixing

« Back to merge proposal