Skip to content

Commit 259abc9

Browse files
author
root
committed
refactor: modify the default return value of warning quit to 1
1 parent a6d0ba1 commit 259abc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_base/tool_quit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void QUIT(int ret)
6161

6262
void WARNING_QUIT(const std::string &file,const std::string &description)
6363
{
64-
WARNING_QUIT(file, description, 0);
64+
WARNING_QUIT(file, description, 1);
6565
}
6666

6767
void WARNING_QUIT(const std::string &file,const std::string &description,int ret)

0 commit comments

Comments
 (0)