@@ -17,15 +17,15 @@ template <typename> struct builder;
17
17
18
18
template <> struct builder <defn::short32_msg_t > {
19
19
template <auto Level, std::same_as<std::uint32_t >... Ts>
20
- ALWAYS_INLINE static auto build (string_id id, module_id, Ts...) {
20
+ static auto build (string_id id, module_id, Ts...) {
21
21
using namespace msg ;
22
22
return owning<defn::short32_msg_t >{" payload" _field = id};
23
23
}
24
24
};
25
25
26
26
template <typename Storage> struct catalog_builder {
27
27
template <auto Level, std::same_as<std::uint32_t >... Ts>
28
- ALWAYS_INLINE static auto build (string_id id, module_id m, Ts... msg_data) {
28
+ static auto build (string_id id, module_id m, Ts... msg_data) {
29
29
using namespace msg ;
30
30
defn::catalog_msg_t ::owner_t <Storage> message{" severity" _field = Level,
31
31
" module_id" _field = m};
@@ -48,7 +48,7 @@ template <typename Storage>
48
48
requires std::same_as<typename Storage::value_type, std::uint32_t >
49
49
struct catalog_builder <Storage> {
50
50
template <auto Level, std::same_as<std::uint32_t >... Ts>
51
- ALWAYS_INLINE static auto build (string_id id, module_id m, Ts... msg_data) {
51
+ static auto build (string_id id, module_id m, Ts... msg_data) {
52
52
using namespace msg ;
53
53
defn::catalog_msg_t ::owner_t <Storage> message{" severity" _field = Level,
54
54
" module_id" _field = m};
@@ -65,7 +65,7 @@ struct catalog_builder<Storage> {
65
65
66
66
template <> struct builder <defn::catalog_msg_t > {
67
67
template <auto Level, std::same_as<std::uint32_t >... Ts>
68
- ALWAYS_INLINE static auto build (string_id id, module_id m, Ts... msg_data) {
68
+ static auto build (string_id id, module_id m, Ts... msg_data) {
69
69
using namespace msg ;
70
70
if constexpr (sizeof ...(Ts) <= 2u ) {
71
71
constexpr auto header_size =
@@ -89,7 +89,7 @@ template <> struct builder<defn::catalog_msg_t> {
89
89
90
90
struct default_builder {
91
91
template <auto Level, std::same_as<std::uint32_t >... Ts>
92
- ALWAYS_INLINE static auto build (string_id id, module_id m, Ts... msg_data) {
92
+ static auto build (string_id id, module_id m, Ts... msg_data) {
93
93
if constexpr (sizeof ...(Ts) == 0u ) {
94
94
return builder<defn::short32_msg_t >{}.template build <Level>(
95
95
id, m, msg_data...);
0 commit comments