diff options
author | Adam Cozzette <acozzette@google.com> | 2018-07-06 14:12:33 -0700 |
---|---|---|
committer | Adam Cozzette <acozzette@google.com> | 2018-07-06 15:02:40 -0700 |
commit | a9abc7831e45257d334cfa682746b6cadf9e95d9 (patch) | |
tree | fdb892e4e34269f6b3bbb6f629a912d4c63c2d70 /generate_changelog.py | |
parent | f7ada1280fac4af717d478e6a9765d3f02b418b3 (diff) | |
download | protobuf-a9abc7831e45257d334cfa682746b6cadf9e95d9.tar.gz protobuf-a9abc7831e45257d334cfa682746b6cadf9e95d9.tar.bz2 protobuf-a9abc7831e45257d334cfa682746b6cadf9e95d9.zip |
Fix initialization with Visual Studio
It appears that Visual Studio does not work well with std::once_flag
because it has a bug causing it to initialize that during dynamic
initialization instead of constant initialization. This change works
around the problem by using function static initializers instead.
@gerben-s originally wrote this change for the Google-internal codebase
but I am just cherry-picking it here.
This fixes #4773.
Diffstat (limited to 'generate_changelog.py')
0 files changed, 0 insertions, 0 deletions