You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft Visual Studio Enterprise 2019 Version 16.9.4
Steps to reproduce the behavior:
Compile project with generated protobuf class causes:
Error defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr ...\include\google\protobuf\stubs\mutex.h 119
constexprWrappedMutex() = default;
should be: constexprWrappedMutex() {}
The text was updated successfully, but these errors were encountered:
przole
pushed a commit
to olejniczak/protobuf
that referenced
this issue
Apr 14, 2021
Version: 3.15.8
Language: C++
Windows 10 Enterprise 20H2 19042.867
Microsoft Visual Studio Enterprise 2019 Version 16.9.4
Steps to reproduce the behavior:
Error defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr ...\include\google\protobuf\stubs\mutex.h 119
constexpr WrappedMutex() = default;
should be:
constexpr WrappedMutex() {}
The text was updated successfully, but these errors were encountered: