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/prompt.cxx | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'libbutl/prompt.cxx') diff --git a/libbutl/prompt.cxx b/libbutl/prompt.cxx index 1c0820a..2e42dd5 100644 --- a/libbutl/prompt.cxx +++ b/libbutl/prompt.cxx @@ -1,33 +1,11 @@ // file : libbutl/prompt.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file -#ifndef __cpp_modules_ts -#include -#endif - -#ifndef __cpp_lib_modules_ts -#include +#include #include -#endif - -// Other includes. - -#ifdef __cpp_modules_ts -module butl.prompt; - -// Only imports additional to interface. -#ifdef __clang__ -#ifdef __cpp_lib_modules_ts -import std.core; -import std.io; -#endif -#endif -import butl.diagnostics; -#else -#include // diag_stream -#endif +#include // diag_stream using namespace std; -- cgit v1.1