We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0e1fd3 commit fb17080Copy full SHA for fb17080
2 files changed
NEWS.txt
@@ -86,6 +86,9 @@
86
87
- Bug #3139678: stack buffer overflow when parsing a double with a
88
length of 32 characters.
89
+
90
+ - Fixed Value::operator <= implementation (had the semantic of operator >=).
91
+ Found when addigin unit tests for comparison operators.
92
93
* License
94
src/lib_json/json_value.cpp
@@ -600,7 +600,7 @@ Value::operator <( const Value &other ) const
600
bool
601
Value::operator <=( const Value &other ) const
602
{
603
- return !(other > *this);
+ return !(other < *this);
604
}
605
606
0 commit comments