mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Enable C++17
This commit is contained in:
@@ -673,9 +673,7 @@ protected:
|
||||
void
|
||||
invoke (STTx& stx, FN const&... fN)
|
||||
{
|
||||
// Sean Parent for_each_argument trick (C++ fold expressions would be
|
||||
// nice here)
|
||||
(void)std::array<int, sizeof...(fN)>{{((fN(*this, stx)), 0)...}};
|
||||
(fN(*this, stx),...);
|
||||
}
|
||||
|
||||
// Invoke funclets on jt
|
||||
@@ -683,9 +681,7 @@ protected:
|
||||
void
|
||||
invoke (JTx& jt, FN const&... fN)
|
||||
{
|
||||
// Sean Parent for_each_argument trick (C++ fold expressions would be
|
||||
// nice here)
|
||||
(void)std::array<int, sizeof...(fN)>{{((fN(*this, jt)), 0)...}};
|
||||
(fN(*this, jt),...);
|
||||
}
|
||||
|
||||
// Map of account IDs to Account
|
||||
|
||||
Reference in New Issue
Block a user