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 --- libbutl/b.cxx | 58 +++++++++------------------------------------------------- 1 file changed, 9 insertions(+), 49 deletions(-) (limited to 'libbutl/b.cxx') diff --git a/libbutl/b.cxx b/libbutl/b.cxx index 86a87ff..74a430c 100644 --- a/libbutl/b.cxx +++ b/libbutl/b.cxx @@ -1,59 +1,19 @@ // file : libbutl/b.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file -#ifndef __cpp_modules_ts -#include -#endif - -// C includes. +#include +#include // ios::failure #include - -#ifndef __cpp_lib_modules_ts -#include -#include -#include -#include -#include -#include - -#include // ios::failure -#include // move() +#include // move() #include #include -#endif - -// Other includes. - -#ifdef __cpp_modules_ts -module butl.b; - -// Only imports additional to interface. -#ifdef __clang__ -#ifdef __cpp_lib_modules_ts -import std.core; -import std.io; -#endif -import butl.url; -import butl.path; -import butl.process; -import butl.optional; -import butl.project_name; -import butl.standard_version; -#endif - -import butl.utility; // next_word(), eof(), etc -import butl.path_io; -import butl.fdstream; -import butl.process_io; // operator<<(ostream, process_path) -import butl.small_vector; -#else -#include -#include -#include -#include -#include -#endif + +#include // next_word(), eof(), etc +#include +#include +#include // operator<<(ostream, process_path) +#include using namespace std; -- cgit v1.1