Commit 771bb53f authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX] fixed windows compilation issue where boost filesystem path c_str...

[FIX] fixed windows compilation issue where boost filesystem path c_str returned a tchar, which is not supported by std lib.
parent 2189303f
......@@ -2200,7 +2200,7 @@ void WMHierchClustDisplay::writePartition()
}
boost::filesystem::path partitionFilename = m_propPartitionFile->get();
std::ofstream streamFile( partitionFilename.c_str() );
std::ofstream streamFile( partitionFilename.string() );
if( !streamFile )
{
errorLog() << "ERROR: unable to open partition file: \"" << partitionFilename << "\"";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment