mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
Adjust the code so that it should (maybe) work, changing the compilation error to a less straighforward one.
This commit is contained in:
parent
95d2c7ea5c
commit
d9d5a6561b
@ -2,6 +2,8 @@
|
|||||||
#define OPENMW_COMPONENTS_FALLBACK_VALIDATE_H
|
#define OPENMW_COMPONENTS_FALLBACK_VALIDATE_H
|
||||||
|
|
||||||
#include <boost/program_options.hpp>
|
#include <boost/program_options.hpp>
|
||||||
|
#include <boost/filesystem/path.hpp>
|
||||||
|
#include <boost/iostreams/filtering_stream.hpp>
|
||||||
|
|
||||||
#include <components/files/configurationmanager.hpp>
|
#include <components/files/configurationmanager.hpp>
|
||||||
#include <components/files/multidircollection.hpp>
|
#include <components/files/multidircollection.hpp>
|
||||||
@ -80,7 +82,9 @@ namespace Files {
|
|||||||
filteredStream.push(unescape_hash_filter());
|
filteredStream.push(unescape_hash_filter());
|
||||||
filteredStream.push(istream);
|
filteredStream.push(istream);
|
||||||
|
|
||||||
filteredStream >> escapePathContainer.mContainer;
|
boost::filesystem::path path;
|
||||||
|
filteredStream >> path;
|
||||||
|
escapePathContainer.mContainer.push_back(path);
|
||||||
|
|
||||||
return istream;
|
return istream;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user