Allow rippled to compile with C++17:

Many of the warnings on Windows were not resolved, just
silenced with _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS.
They need to be resolved in a future commit.
This commit is contained in:
Scott Schurr
2018-10-12 08:23:54 -07:00
committed by Mike Ellery
parent 63e167b7a3
commit a999894dae
9 changed files with 83 additions and 22 deletions

View File

@@ -897,7 +897,7 @@ struct PayStrand_test : public beast::unit_test::suite
false,
env.app().logs().journal("Flow"));
BEAST_EXPECT(r.first == expTer);
if (sizeof...(expSteps))
if (sizeof...(expSteps) !=0 )
BEAST_EXPECT(equal(
r.second, std::forward<decltype(expSteps)>(expSteps)...));
};