X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/65b0dbf24af3d566eefab9e7244bdcb383e78f83..acdf6ab94fee26ebc4017bf32cf6171c7d9462e9:/tests/test_conffiles.cpp?ds=sidebyside diff --git a/tests/test_conffiles.cpp b/tests/test_conffiles.cpp index ee2eeea7..5936ad36 100644 --- a/tests/test_conffiles.cpp +++ b/tests/test_conffiles.cpp @@ -62,9 +62,9 @@ namespace tut set_test_name("Check empty lines and comments"); { - ofstream f("/tmp/test.cf"); + std::ofstream f("/tmp/test.cf"); - ensure("Correct construction (part 3)", f); + ensure("Correct construction (part 3)", static_cast(f)); f << "\n" << "a=a-string# a string\n"