From f74e8260f9cdf2ad5bb832a804ee2f736e820086 Mon Sep 17 00:00:00 2001 From: Carlosespicur Date: Fri, 15 Nov 2024 13:20:55 +0100 Subject: [PATCH] Refs #21817: Uncrustify Signed-off-by: Carlosespicur --- src/cpp/database/database.cpp | 5 +++-- src/cpp/database/database.hpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cpp/database/database.cpp b/src/cpp/database/database.cpp index dee952c4..fea8a96e 100644 --- a/src/cpp/database/database.cpp +++ b/src/cpp/database/database.cpp @@ -5347,7 +5347,7 @@ EntityId Database::get_endpoint_topic_id( const EntityId& endpoint_id) { std::shared_lock lock(mutex_); - std::shared_ptr endpoint = get_entity_nts(endpoint_id); + std::shared_ptr endpoint = get_entity_nts(endpoint_id); // Check if the entity is a valid endpoint if (endpoint->kind != EntityKind::DATAWRITER && endpoint->kind != EntityKind::DATAREADER) @@ -5364,7 +5364,7 @@ EntityId Database::get_domain_id( std::shared_lock lock(mutex_); std::shared_ptr entity = get_entity_nts(entity_id); - switch(entity->kind) + switch (entity->kind) { case EntityKind::DOMAIN: { @@ -5390,6 +5390,7 @@ EntityId Database::get_domain_id( } } + void Database::check_entity_kinds( EntityKind kind, const std::vector& entity_ids, diff --git a/src/cpp/database/database.hpp b/src/cpp/database/database.hpp index af305d04..660e0e8c 100644 --- a/src/cpp/database/database.hpp +++ b/src/cpp/database/database.hpp @@ -713,7 +713,7 @@ class Database */ EntityId get_domain_id( const EntityId& entity_id); - + /** * @brief Check if the entities passed correspond to the specified entity kind. *