From 59073dbc40976fc8cb9622ac783b1ba9d6504750 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Mon, 22 Jul 2013 10:38:30 +0100 Subject: [PATCH] Update api.cpp Switched file streams to those that can open non-ANSI file paths (the header file "streams.h" has not yet been committed). --- src/api/api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/api.cpp b/src/api/api.cpp index c34cc7b5..c0f80fc8 100644 --- a/src/api/api.cpp +++ b/src/api/api.cpp @@ -28,11 +28,11 @@ #include "../backend/parsers.h" #include "../backend/generators.h" #include "../backend/error.h" +#include "../backend/streams.h" #include #include -#include #include #include #include @@ -591,7 +591,7 @@ BOSS_API unsigned int boss_write_minimal_list (boss_db db, const char * const ou << YAML::Key << "plugins" << YAML::Value << temp << YAML::EndMap; - std::ofstream out(outputFile); + boss::ofstream out(outputFile); if (out.fail()) return boss_error_invalid_args; out << yout.c_str();