mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +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 ()
|
||||
: stop_ (false)
|
||||
{
|
||||
thread_ = thread (std::bind(
|
||||
&seconds_clock_thread::run, this));
|
||||
thread_ = thread (&seconds_clock_thread::run, this);
|
||||
}
|
||||
|
||||
~seconds_clock_thread ()
|
||||
|
||||
@@ -116,7 +116,6 @@ public:
|
||||
BEAST_EXPECT(v4[2]==0);
|
||||
BEAST_EXPECT(v4[3]==1);
|
||||
|
||||
BEAST_EXPECT((!((0xff)<<16)) == 0x00000000);
|
||||
BEAST_EXPECT((~((0xff)<<16)) == 0xff00ffff);
|
||||
|
||||
v4[1] = 10;
|
||||
|
||||
Reference in New Issue
Block a user