From df1ef68cd8e8582724ce1192bfc202e0b9aeaf0c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 Sep 2021 19:24:31 +0300 Subject: Get rid of C++ modules related code and rename *.mxx files to *.hxx --- tests/progress/driver.cxx | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'tests/progress') diff --git a/tests/progress/driver.cxx b/tests/progress/driver.cxx index 68952a7..f1a257c 100644 --- a/tests/progress/driver.cxx +++ b/tests/progress/driver.cxx @@ -8,36 +8,16 @@ # include //_write() #endif -#ifndef __cpp_lib_modules_ts #include #include // size_t #include #ifndef _WIN32 # include // this_thread::sleep_for() #endif -#endif - -// Other includes. - -#ifdef __cpp_modules_ts -#ifdef __cpp_lib_modules_ts -import std.core; -import std.io; -#ifndef _WIN32 -import std.threading; -#endif -#endif -import butl.process; -import butl.fdstream; -import butl.diagnostics; -import butl.optional; // @@ MOD Clang should not be necessary. -import butl.small_vector; // @@ MOD Clang should not be necessary. -#else -#include -#include // fdopen_null(), stderr_fd() -#include -#endif +#include +#include // fdopen_null(), stderr_fd() +#include #undef NDEBUG #include -- cgit v1.1