Remove constexpr from default constructor
Coverity claims: error #2443: defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr constexpr StatusCode() = default; Independent of that there is little use of declaring the default constructor as constexpr as it is calling the non-constexpr default_category().
Loading
Please register or sign in to comment