forked from mirror/openmw-tes3mp
Trick the software into building by using what I assume is a really dirty hack.
This commit is contained in:
parent
519fbab864
commit
becc053555
1 changed files with 3 additions and 0 deletions
|
@ -145,6 +145,9 @@ bool ConfigurationManager::loadConfig(const boost::filesystem::path& path,
|
||||||
boost::iostreams::filtering_istream configFileStream;
|
boost::iostreams::filtering_istream configFileStream;
|
||||||
configFileStream.push(escape_hash_filter());
|
configFileStream.push(escape_hash_filter());
|
||||||
configFileStream.push(configFileStreamUnfiltered);
|
configFileStream.push(configFileStreamUnfiltered);
|
||||||
|
|
||||||
|
boost::iostreams::filtering_istream dummyStreamThatShouldMakeOtherCodeCompile;
|
||||||
|
dummyStreamThatShouldMakeOtherCodeCompile.push(unescape_hash_filter());
|
||||||
if (configFileStreamUnfiltered.is_open())
|
if (configFileStreamUnfiltered.is_open())
|
||||||
{
|
{
|
||||||
boost::program_options::store(boost::program_options::parse_config_file(
|
boost::program_options::store(boost::program_options::parse_config_file(
|
||||||
|
|
Loading…
Reference in a new issue