From d3ca0807299e22089443de179dae474a428616a9 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Tue, 18 Nov 2014 11:52:39 +0100 Subject: [PATCH] Fix windows build. --- Contractor/Prepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contractor/Prepare.cpp b/Contractor/Prepare.cpp index bfcc4aca1..df628cc68 100644 --- a/Contractor/Prepare.cpp +++ b/Contractor/Prepare.cpp @@ -398,7 +398,7 @@ bool Prepare::ParseArguments(int argc, char *argv[]) const auto& temp_config_path = option_variables["config"].as(); if (boost::filesystem::is_regular_file(temp_config_path)) { - boost::program_options::store(boost::program_options::parse_config_file(temp_config_path.c_str(), cmdline_options, true), + boost::program_options::store(boost::program_options::parse_config_file(temp_config_path.string().c_str(), cmdline_options, true), option_variables); }