使用标准异常处理
This commit is contained in:
@@ -91,7 +91,7 @@ namespace ling {
|
||||
return anonymity;
|
||||
}
|
||||
|
||||
bool Order::analysis() {
|
||||
void Order::analysis() {
|
||||
for (auto it = cmd.begin(); it != cmd.end(); ++it) {
|
||||
auto rules = data.find(*it);
|
||||
if (rules == data.end()) {
|
||||
@@ -141,7 +141,6 @@ namespace ling {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
const std::string &Order::getError() const {
|
||||
|
||||
Reference in New Issue
Block a user