Suppress msvc warnings.

Fixes: https://github.com/boostorg/regex/issues/80
This commit is contained in:
jzmaddock
2020-01-20 19:51:46 +00:00
parent 3b98dc901a
commit 2cd947f7c4
19 changed files with 150 additions and 28 deletions

View File

@ -112,7 +112,7 @@ private:
boost::call_once(f,&init_data);
return do_get_data();
#else
static data_type d;
static data_type d = {};
return d;
#endif
}