为了规避NDK的Bug,停用异常处理

This commit is contained in:
2024-02-04 21:11:30 +08:00
parent ad6865feef
commit f994bae5cb
3 changed files with 94 additions and 98 deletions

View File

@@ -50,7 +50,8 @@ namespace ling {
//匿名参数数量
int anonymityNumber = 0;
int nextID = 1;
std::string errStr;
std::string nullstr;
std::string err;
protected:
int64_t getInt64(int id) const;
@@ -59,7 +60,7 @@ namespace ling {
const std::string &getString(int id) const;
bool getOption(int id) const;
bool getOption(int id);
bool isExistence(int id) const;
@@ -77,7 +78,9 @@ namespace ling {
const std::vector<std::string> &getAnonymity() const;
/// 解析
void analysis();
bool analysis();
const std::string &getError() const;
friend class Options;
};