commit | 1837a1c50860e77045d0b8ed103c039c208022be | [log] [tgz] |
---|---|---|
author | Baptiste Lepilleur <baptiste.lepilleur@gmail.com> | Mon May 02 20:11:48 2011 +0000 |
committer | Baptiste Lepilleur <baptiste.lepilleur@gmail.com> | Mon May 02 20:11:48 2011 +0000 |
tree | d92d9486810d96cce2ceba1a1f650af3a5941217 | |
parent | e3cc0f004b14de600002560983b4fc4a353fa202 [diff] [blame] |
Value::compare() is now const and has an actual implementation with unit tests.
diff --git a/include/json/value.h b/include/json/value.h index b629d8c..c9c7e1d 100644 --- a/include/json/value.h +++ b/include/json/value.h
@@ -256,7 +256,7 @@ bool operator ==( const Value &other ) const; bool operator !=( const Value &other ) const; - int compare( const Value &other ); + int compare( const Value &other ) const; const char *asCString() const; std::string asString() const;