diff --git a/tests/fff_print/test_data.cpp b/tests/fff_print/test_data.cpp index 32e31c264..f7077007d 100644 --- a/tests/fff_print/test_data.cpp +++ b/tests/fff_print/test_data.cpp @@ -11,6 +11,7 @@ #include #include +#include #include #include @@ -286,7 +287,7 @@ std::string gcode(Print & print) print.set_status_silent(); print.process(); print.export_gcode(temp.string(), nullptr, nullptr); - std::ifstream t(temp.string()); + boost::nowide::ifstream t(temp.string()); std::string str((std::istreambuf_iterator(t)), std::istreambuf_iterator()); boost::nowide::remove(temp.string().c_str()); return str;