1 --- a/boost/regex/v5/mem_block_cache.hpp
2 +++ b/boost/regex/v5/mem_block_cache.hpp
3 @@ -85,10 +85,10 @@ struct mem_block_node
6 // this member has to be statically initialsed:
7 - mem_block_node* next;
8 - unsigned cached_blocks;
9 + mem_block_node* next { nullptr };
10 + unsigned cached_blocks { 0 };
11 #ifdef BOOST_HAS_THREADS
12 - boost::static_mutex mut;
17 @@ -133,11 +133,7 @@ struct mem_block_cache
19 static mem_block_cache& instance()
21 -#ifdef BOOST_HAS_THREADS
22 - static mem_block_cache block_cache = { 0, 0, BOOST_STATIC_MUTEX_INIT, };
24 - static mem_block_cache block_cache = { 0, 0, };
26 + static mem_block_cache block_cache;