libstdc++: Fix -Wreorder warning in std::philox_engine

libstdc++-v3/ChangeLog:

	* include/bits/random.h (philox_engine(result_type)): Reorder
	ctor-initializer-list to match declaration order.
This commit is contained in:
Jonathan Wakely 2025-10-01 13:48:18 +01:00 committed by Jonathan Wakely
parent 3f2a291ef3
commit 9af9532118
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1778,7 +1778,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
explicit
philox_engine(result_type __value)
: _M_x{}, _M_y{}, _M_k{}, _M_i(__n - 1)
: _M_x{}, _M_k{}, _M_y{}, _M_i(__n - 1)
{ _M_k[0] = __value & max(); }
/** @brief seed sequence constructor for %philox_engine