mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-26 17:02:17 +00:00
Revert changes intended for trunk
[SVN r57701]
This commit is contained in:
@@ -51,8 +51,8 @@ public:
|
||||
};
|
||||
|
||||
A::A() :
|
||||
s(static_cast<signed char>(0xff & std::rand())),
|
||||
t(static_cast<signed char>(0xff & std::rand())),
|
||||
s(std::rand()),
|
||||
t(std::rand()),
|
||||
u(std::rand()),
|
||||
v(std::rand()),
|
||||
w((float)std::rand() / std::rand()),
|
||||
@@ -74,13 +74,13 @@ bool A::operator==(const A &rhs) const
|
||||
|
||||
bool A::operator<(const A &rhs) const
|
||||
{
|
||||
if(! (s == rhs.s) )
|
||||
if(! s == rhs.s )
|
||||
return s < rhs.s;
|
||||
if(! (t == rhs.t) )
|
||||
if(! t == rhs.t )
|
||||
return t < rhs.t;
|
||||
if(! (u == rhs.u) )
|
||||
if(! u == rhs.u )
|
||||
return t < rhs.u;
|
||||
if(! (v == rhs.v) )
|
||||
if(! v == rhs.v )
|
||||
return t < rhs.v;
|
||||
if(! (std::fabs(w - rhs.w) < std::numeric_limits<float>::round_error() ) )
|
||||
return t < rhs.w;
|
||||
|
||||
Reference in New Issue
Block a user