aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-01-18 11:17:40 -0500
committerJack Lloyd <[email protected]>2019-01-18 11:17:40 -0500
commit9ca22335edcb9800158f4691de20fa5d0f9cc849 (patch)
tree541b3609f1ae65f98e8f02595424a52982eed9af /src/lib
parent44a980658be1becabdb9d0611a56cd500b814cae (diff)
Fix init ordering warning
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/pubkey/mce/polyn_gf2m.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/mce/polyn_gf2m.cpp b/src/lib/pubkey/mce/polyn_gf2m.cpp
index c08870360..8c58ef69a 100644
--- a/src/lib/pubkey/mce/polyn_gf2m.cpp
+++ b/src/lib/pubkey/mce/polyn_gf2m.cpp
@@ -124,7 +124,7 @@ void polyn_gf2m::realloc(uint32_t new_size)
}
polyn_gf2m::polyn_gf2m(const uint8_t* mem, uint32_t mem_len, std::shared_ptr<GF2m_Field> sp_field)
- :msp_field(sp_field), m_deg(-1)
+ :m_deg(-1), msp_field(sp_field)
{
if(mem_len % sizeof(gf2m))
{