Remove unneeded test and std::bind:

These changes are needed to support gcc 7
This commit is contained in:
seelabs
2017-05-02 13:17:09 -04:00
committed by Nik Bougalis
parent c570695aa1
commit 24505a358a
2 changed files with 1 additions and 3 deletions

View File

@@ -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 ()

View File

@@ -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;