name{ std::move(in_name) }, _type{ std::move(in_type) }
{
if (!_type) {
- LTTNG_THROW_ERROR(
- fmt::format("Invalid type used to create field: field name = `{}`", name));
+ LTTNG_THROW_ERROR(lttng::format(
+ "Invalid type used to create field: field name = `{}`", name));
}
}
if (_type) {
return *_type;
} else {
- LTTNG_THROW_ERROR(fmt::format(
+ LTTNG_THROW_ERROR(lttng::format(
"Invalid attempt to access field type after transfer: field name = `{}`",
name));
}
return;
}
- LTTNG_THROW_INVALID_ARGUMENT_ERROR(fmt::format(
+ LTTNG_THROW_INVALID_ARGUMENT_ERROR(lttng::format(
"Invalid exponent/mantissa values provided while creating {}", typeid(*this)));
}