Skip to content

Commit 40ba632

Browse files
committed
delete input.h in too_quit.cpp
1 parent 5169f08 commit 40ba632

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/module_base/tool_quit.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "global_file.h"
1212
#include "timer.h"
1313
#include "memory.h"
14-
#include "input.h"
1514
#endif
1615

1716
namespace ModuleBase
@@ -143,12 +142,12 @@ void CHECK_WARNING_QUIT(const bool error_in, const std::string &file,const std::
143142
std::cout.clear();
144143
if(!GlobalV::ofs_running.is_open())
145144
{
146-
string logfile = GlobalV::global_out_dir + "running_" + GlobalV::CALCULATION + ".log";
145+
std::string logfile = GlobalV::global_out_dir + "running_" + GlobalV::CALCULATION + ".log";
147146
GlobalV::ofs_running.open( logfile.c_str(), std::ios::app );
148147
}
149148
if(!GlobalV::ofs_warning.is_open())
150149
{
151-
string warningfile = GlobalV::global_out_dir + "warning.log";
150+
std::string warningfile = GlobalV::global_out_dir + "warning.log";
152151
GlobalV::ofs_warning.open( warningfile.c_str(), std::ios::app );
153152
}
154153

0 commit comments

Comments
 (0)