diff options
author | Max Kellermann <max@duempel.org> | 2013-10-26 13:11:42 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-26 13:49:15 +0200 |
commit | ade66e7eceb56a6a93423ab3263c9f11a9e904df (patch) | |
tree | 2c8299dc988c37b4b1d70a7d125c3c631197bd45 | |
parent | 6673f9e39d836c3d65347127b98bccc715d30194 (diff) | |
download | mpd-ade66e7eceb56a6a93423ab3263c9f11a9e904df.tar.gz mpd-ade66e7eceb56a6a93423ab3263c9f11a9e904df.tar.xz mpd-ade66e7eceb56a6a93423ab3263c9f11a9e904df.zip |
util/NumberParser: indent
Diffstat (limited to '')
-rw-r--r-- | src/util/NumberParser.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/util/NumberParser.hxx b/src/util/NumberParser.hxx index 2acfccfdd..df55bb7ff 100644 --- a/src/util/NumberParser.hxx +++ b/src/util/NumberParser.hxx @@ -38,41 +38,41 @@ static inline unsigned ParseUnsigned(const char *p, char **endptr=nullptr, int base=10) { - assert(p != nullptr); + assert(p != nullptr); - return (unsigned)strtoul(p, endptr, base); + return (unsigned)strtoul(p, endptr, base); } static inline int ParseInt(const char *p, char **endptr=nullptr, int base=10) { - assert(p != nullptr); + assert(p != nullptr); - return (int)strtol(p, endptr, base); + return (int)strtol(p, endptr, base); } static inline uint64_t ParseUint64(const char *p, char **endptr=nullptr, int base=10) { - assert(p != nullptr); + assert(p != nullptr); - return strtoull(p, endptr, base); + return strtoull(p, endptr, base); } static inline int64_t ParseInt64(const char *p, char **endptr=nullptr, int base=10) { - assert(p != nullptr); + assert(p != nullptr); - return strtoll(p, endptr, base); + return strtoll(p, endptr, base); } static inline double ParseDouble(const char *p, char **endptr=nullptr) { - assert(p != nullptr); + assert(p != nullptr); - return (double)strtod(p, endptr); + return (double)strtod(p, endptr); } #endif |