From cbd46d3eccd5b37e0a775b6d869b07a8d24ac7f6 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 15 Jan 2024 16:37:10 +0100 Subject: [PATCH] Use std::integral_constant of uint8_t, not uint32_t, this matches the v1.7 IDL to C++11 spec * ridlbe/c++11/templates/cli/hdr/bitmask_idl_traits.erb: * ridlbe/c++11/templates/cli/hdr/enum_idl_traits.erb: --- ridlbe/c++11/templates/cli/hdr/bitmask_idl_traits.erb | 2 +- ridlbe/c++11/templates/cli/hdr/enum_idl_traits.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ridlbe/c++11/templates/cli/hdr/bitmask_idl_traits.erb b/ridlbe/c++11/templates/cli/hdr/bitmask_idl_traits.erb index 3a891732..cedd7a25 100644 --- a/ridlbe/c++11/templates/cli/hdr/bitmask_idl_traits.erb +++ b/ridlbe/c++11/templates/cli/hdr/bitmask_idl_traits.erb @@ -8,7 +8,7 @@ struct traits <<%= scoped_cxxtype %>> using underlying_type = <%= bitbound.cxx_type %>; /// bit_bound - using bit_bound = std::integral_constant>; + using bit_bound = std::integral_constant>; template > static inline OStrm_& write_on(OStrm_& os_, in_type val_, Formatter fmt_ = Formatter ()) diff --git a/ridlbe/c++11/templates/cli/hdr/enum_idl_traits.erb b/ridlbe/c++11/templates/cli/hdr/enum_idl_traits.erb index 9f88577a..02d84e64 100644 --- a/ridlbe/c++11/templates/cli/hdr/enum_idl_traits.erb +++ b/ridlbe/c++11/templates/cli/hdr/enum_idl_traits.erb @@ -8,7 +8,7 @@ struct traits <<%= scoped_cxxtype %>> using underlying_type = <%= bitbound.cxx_type %>; /// bit_bound - using bit_bound = std::integral_constant>; + using bit_bound = std::integral_constant>; template > static inline OStrm_& write_on(OStrm_& os_, in_type val_, Formatter fmt_ = Formatter ())