Fix windows build.
This commit is contained in:
		
							parent
							
								
									7658031784
								
							
						
					
					
						commit
						d3ca080729
					
				| @ -398,7 +398,7 @@ bool Prepare::ParseArguments(int argc, char *argv[]) | |||||||
|     const auto& temp_config_path = option_variables["config"].as<boost::filesystem::path>(); |     const auto& temp_config_path = option_variables["config"].as<boost::filesystem::path>(); | ||||||
|     if (boost::filesystem::is_regular_file(temp_config_path)) |     if (boost::filesystem::is_regular_file(temp_config_path)) | ||||||
|     { |     { | ||||||
|         boost::program_options::store(boost::program_options::parse_config_file<char>(temp_config_path.c_str(), cmdline_options, true), |         boost::program_options::store(boost::program_options::parse_config_file<char>(temp_config_path.string().c_str(), cmdline_options, true), | ||||||
|                                       option_variables); |                                       option_variables); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user