This commit is contained in:
Niels
2015-01-06 22:05:32 +01:00
parent bd9f49efb9
commit 4647401030
2 changed files with 7 additions and 7 deletions

View File

@@ -160,10 +160,10 @@ class json
private:
/// return the type as string
const std::string type_name() const noexcept;
std::string type_name() const noexcept;
/// dump the object (with pretty printer)
const std::string dump(const bool, const unsigned int, unsigned int = 0) const noexcept;
std::string dump(const bool, const unsigned int, unsigned int = 0) const noexcept;
public:
/// explicit value conversion
@@ -210,7 +210,7 @@ class json
}
/// explicit serialization
const std::string dump(int = -1) const noexcept;
std::string dump(int = -1) const noexcept;
/// add an object/array to an array
json& operator+=(const json&);