mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04: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;
|
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…
x
Reference in New Issue
Block a user