Browse Source

Fix incorrect parameter type.

ObjPtr
Michael Uleysky 9 years ago
parent
commit
fc13d6586a
  1. 2
      include/common.h

2
include/common.h

@ -392,7 +392,7 @@ inline bool str2uint(const char* str, uint64_t* res)
inline bool str2double(const std::string& str, double* res) {return str2double(str.c_str(),res);} inline bool str2double(const std::string& str, double* res) {return str2double(str.c_str(),res);}
inline bool str2int(const std::string& str, int64_t* res) {return str2int(str.c_str(),res);} inline bool str2int(const std::string& str, int64_t* res) {return str2int(str.c_str(),res);}
inline bool str2uint(const std::string& str, int64_t* res) {return str2uint(str.c_str(),res);} inline bool str2uint(const std::string& str, uint64_t* res) {return str2uint(str.c_str(),res);}
inline void tolower(std::string& str) {for(auto& p: str) p=tolower(p);} inline void tolower(std::string& str) {for(auto& p: str) p=tolower(p);}
inline void tolower(std::string* str) {for(auto& p:*str) p=tolower(p);} inline void tolower(std::string* str) {for(auto& p:*str) p=tolower(p);}

Loading…
Cancel
Save