let it compile under XCode
This commit is contained in:
parent
c104e3ce85
commit
08b5053829
|
|
@ -20,6 +20,7 @@ std::string date_to_string(const int datetime, const std::string format) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
// TODO exception here
|
// TODO exception here
|
||||||
|
return "invalid argument";
|
||||||
}
|
}
|
||||||
|
|
||||||
int string_to_date(const std::string &datestr, const std::string &format) {
|
int string_to_date(const std::string &datestr, const std::string &format) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue