From 43cd1fd8319c9d822342f2412e2c76cc2a00ae75 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Thu, 1 May 2025 10:29:37 +0200 Subject: [PATCH] Remove warnings --- modules/server/include/jsonconverters.h | 4 +--- src/properties/misc/selectionproperty.cpp | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/server/include/jsonconverters.h b/modules/server/include/jsonconverters.h index 8dac89b3e4..b35e4075ed 100644 --- a/modules/server/include/jsonconverters.h +++ b/modules/server/include/jsonconverters.h @@ -42,12 +42,10 @@ void to_json(nlohmann::json& j, const PropertyOwner* p); } // namespace openspace::properties namespace openspace::interaction { - - class Action; + struct Action; void to_json(nlohmann::json& j, const Action& a); void to_json(nlohmann::json& j, const Action* pA); - } // namespace openspace::interaction namespace openspace { diff --git a/src/properties/misc/selectionproperty.cpp b/src/properties/misc/selectionproperty.cpp index b6962d7d77..7367f3777c 100644 --- a/src/properties/misc/selectionproperty.cpp +++ b/src/properties/misc/selectionproperty.cpp @@ -33,8 +33,6 @@ namespace { constexpr std::string_view _loggerCat = "SelectionProperty"; - - constexpr std::string_view OptionsKey = "Options"; } // namespace namespace openspace::properties {