mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Remove unneeded test and std::bind:
These changes are needed to support gcc 7
This commit is contained in:
@@ -63,8 +63,7 @@ public:
|
|||||||
seconds_clock_thread ()
|
seconds_clock_thread ()
|
||||||
: stop_ (false)
|
: stop_ (false)
|
||||||
{
|
{
|
||||||
thread_ = thread (std::bind(
|
thread_ = thread (&seconds_clock_thread::run, this);
|
||||||
&seconds_clock_thread::run, this));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
~seconds_clock_thread ()
|
~seconds_clock_thread ()
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ public:
|
|||||||
BEAST_EXPECT(v4[2]==0);
|
BEAST_EXPECT(v4[2]==0);
|
||||||
BEAST_EXPECT(v4[3]==1);
|
BEAST_EXPECT(v4[3]==1);
|
||||||
|
|
||||||
BEAST_EXPECT((!((0xff)<<16)) == 0x00000000);
|
|
||||||
BEAST_EXPECT((~((0xff)<<16)) == 0xff00ffff);
|
BEAST_EXPECT((~((0xff)<<16)) == 0xff00ffff);
|
||||||
|
|
||||||
v4[1] = 10;
|
v4[1] = 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user