mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Trick the software into building by using what I assume is a really dirty hack.
This commit is contained in:
parent
519fbab864
commit
becc053555
@ -145,6 +145,9 @@ bool ConfigurationManager::loadConfig(const boost::filesystem::path& path,
|
||||
boost::iostreams::filtering_istream configFileStream;
|
||||
configFileStream.push(escape_hash_filter());
|
||||
configFileStream.push(configFileStreamUnfiltered);
|
||||
|
||||
boost::iostreams::filtering_istream dummyStreamThatShouldMakeOtherCodeCompile;
|
||||
dummyStreamThatShouldMakeOtherCodeCompile.push(unescape_hash_filter());
|
||||
if (configFileStreamUnfiltered.is_open())
|
||||
{
|
||||
boost::program_options::store(boost::program_options::parse_config_file(
|
||||
|
Loading…
x
Reference in New Issue
Block a user