X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/65b0dbf24af3d566eefab9e7244bdcb383e78f83..e9ae1f101b5418c0ba2e6c9d86b23c12f0140982:/tests/test_conffiles.cpp?ds=inline 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"