From f8ed8bef84dcd4746ee223bd34f05b7c995cb363 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Fri, 24 Mar 2017 23:58:37 +0100 Subject: testEncoding: use cmsys::ifstream --- Tests/CMakeLib/testEncoding.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/CMakeLib/testEncoding.cxx b/Tests/CMakeLib/testEncoding.cxx index 20ba9e3..403c896 100644 --- a/Tests/CMakeLib/testEncoding.cxx +++ b/Tests/CMakeLib/testEncoding.cxx @@ -1,4 +1,4 @@ -#include +#include #include #include @@ -39,7 +39,7 @@ int main(int argc, char* argv[]) setEncoding(consoleOut, CP_OEMCP); } // else AUTO #endif - std::ifstream file(argv[2]); + cmsys::ifstream file(argv[2]); if (!file.is_open()) { std::cout << "Failed to open file: " << argv[2] << std::endl; return 2; -- cgit v0.12