Update size value

This commit is contained in:
Blyron 2024-07-08 10:07:32 +02:00 committed by Blyron
parent e349dc79c9
commit 8ba08e1f7e
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ namespace client {
std::ostream &operator<<(std::ostream &out, const ActorAttribute &attr) { std::ostream &operator<<(std::ostream &out, const ActorAttribute &attr) {
using Type = carla::rpc::ActorAttributeType; using Type = carla::rpc::ActorAttributeType;
static_assert(static_cast<uint8_t>(Type::SIZE) == 5u, "Please update this function."); static_assert(static_cast<uint8_t>(Type::SIZE) == 6u, "Please update this function.");
out << "ActorAttribute(id=" << attr.GetId(); out << "ActorAttribute(id=" << attr.GetId();
switch (attr.GetType()) { switch (attr.GetType()) {
case Type::Bool: case Type::Bool: