Skip to content

Commit c4b0127

Browse files
authored
Merge pull request #703 from caic99/develop
Fix: remove unneeded parallel header for tool_quit.
2 parents 0766b4f + 24a151b commit c4b0127

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

source/module_base/tool_quit.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#else
1010
#include "global_variable.h"
1111
#include "global_file.h"
12-
#include "../src_parallel/parallel_common.h"
1312
#include "timer.h"
1413
#include "memory.h"
1514
#endif
@@ -88,14 +87,14 @@ void WARNING_QUIT(const std::string &file,const std::string &description)
8887
//printf( " \e[32m%s\e[0m\n", description.c_str());
8988
//printf( " \e[32m%s\e[0m", "CHECK IN FILE : ");
9089
//printf( "\e[32m%s\e[0m", GlobalV::global_out_dir.c_str());
91-
//printf( "\e[32m%s\e[0m\n", "warning.log");
92-
//printf( "\e[32m%s\e[0m\n", " ---------------------------------------------------");
90+
//printf( "\e[32m%s\e[0m\n", "warning.log");
91+
//printf( "\e[32m%s\e[0m\n", " ---------------------------------------------------");
9392
printf( "[32m%s[0m\n", " -------------- SOMETHING TO WARN YOU ! ------------");
9493
printf( " [32m%s[0m\n", description.c_str());
9594
printf( " [32m%s[0m", "CHECK IN FILE : ");
9695
printf( "[32m%s[0m", GlobalV::global_out_dir.c_str());
97-
printf( "[32m%s[0m\n", "warning.log");
98-
printf( "[32m%s[0m\n", " ---------------------------------------------------");
96+
printf( "[32m%s[0m\n", "warning.log");
97+
printf( "[32m%s[0m\n", " ---------------------------------------------------");
9998
}
10099
else
101100
{
@@ -132,4 +131,4 @@ void WARNING_QUIT(const std::string &file,const std::string &description)
132131
QUIT();
133132
}
134133

135-
}
134+
}

0 commit comments

Comments
 (0)