+ removed data() function

This commit is contained in:
Niels 2014-12-29 16:45:54 +01:00
parent 515d731fd4
commit a8c4f84fb8
4 changed files with 21 additions and 42 deletions

View file

@ -1224,19 +1224,6 @@ JSON::const_iterator JSON::find(const char* key) const
}
}
/*!
@return the payload of the JSON object.
*/
JSON::value JSON::data() noexcept
{
return _value;
}
const JSON::value JSON::data() const noexcept
{
return _value;
}
bool JSON::operator==(const JSON& o) const noexcept
{
switch (_type)

View file

@ -279,11 +279,6 @@ class JSON
/// find an element in an object (returns end() iterator otherwise)
const_iterator find(const char*) const;
/// direct access to the underlying payload
value data() noexcept;
/// direct access to the underlying payload
const value data() const noexcept;
/// lexicographically compares the values
bool operator==(const JSON&) const noexcept;
/// lexicographically compares the values