From 18f00e119ee4f7e2e39b6da6e49e18ddd54bbd56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 11 Jun 2024 15:36:07 +0200 Subject: [PATCH] Refs #21044. Fix compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- .../dds/xtypes/type_representation/TypeObjectUtils.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/mock/dds/TypeObjectUtils/fastdds/dds/xtypes/type_representation/TypeObjectUtils.hpp b/test/mock/dds/TypeObjectUtils/fastdds/dds/xtypes/type_representation/TypeObjectUtils.hpp index 2b40626c61d..158cecdd8d8 100644 --- a/test/mock/dds/TypeObjectUtils/fastdds/dds/xtypes/type_representation/TypeObjectUtils.hpp +++ b/test/mock/dds/TypeObjectUtils/fastdds/dds/xtypes/type_representation/TypeObjectUtils.hpp @@ -42,6 +42,12 @@ class TypeObjectUtils return false; } + static const NameHash name_hash( + const std::string&) + { + return {}; + } + }; } // xtypes