X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/65b0dbf24af3d566eefab9e7244bdcb383e78f83..e5499c61083684b28bcbc6950aae66cbf0938703:/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"