为了规避NDK的Bug,停用异常处理
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user