Removed boost::iostreams in favor of std::stream / boost::filesystem
This commit is contained in:
1 parent
fbe6c313d9
commit
21a39f0b01
17 files changed
+72
-273
No files matched your search
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
#include "StdInc.h"
|
||||
#include "jsonutils.h"
|
||||
#include "../lib/filesystem/FileStream.h"
|
||||
|
||||
static QVariantMap JsonToMap(const JsonMap & json)
|
||||
{
|
||||
@@ -114,7 +113,7 @@ JsonNode toJson(QVariant object)
|
||||
|
||||
void JsonToFile(QString filename, QVariant object)
|
||||
{
|
||||
FileStream file(qstringToPath(filename), std::ios::out | std::ios_base::binary);
|
||||
boost::filesystem::fstream file(qstringToPath(filename), std::ios::out | std::ios_base::binary);
|
||||
file << toJson(object).toJson();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user