small tidy up after pull request #22

- removed IDE leftovers
- adjusted const’ness of some functions
- style guide
This commit is contained in:
Niels
2015-01-11 15:16:14 +01:00
parent 6533b33387
commit bd05c7a18a
9 changed files with 247 additions and 107 deletions
+2 -2
View File
@@ -418,11 +418,11 @@ class json
/// read the next character, stripping whitespace
bool next();
/// raise an exception with an error message
inline void error(const std::string&) __attribute__((noreturn));
inline void error(const std::string&) const __attribute__((noreturn));
/// parse a quoted string
inline std::string parseString();
/// transforms a unicode codepoint to it's UTF-8 presentation
std::string codePointToUTF8(unsigned int codePoint);
std::string codePointToUTF8(unsigned int codePoint) const;
/// parses 4 hex characters that represent a unicode code point
inline unsigned int parse4HexCodePoint();
/// parses \uXXXX[\uXXXX] unicode escape characters