From 55b779c19223f07f6e8b7abadc95ff9b7ab62011 Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Mon, 16 Dec 2024 08:28:01 +0100 Subject: [PATCH] fix sonar cloud Signed-off-by: Martijn Govers --- tests/cpp_validation_tests/test_validation.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/cpp_validation_tests/test_validation.cpp b/tests/cpp_validation_tests/test_validation.cpp index 883c5a904..a52a05c7f 100644 --- a/tests/cpp_validation_tests/test_validation.cpp +++ b/tests/cpp_validation_tests/test_validation.cpp @@ -35,15 +35,6 @@ class UnsupportedValidationCase : public PowerGridError { }()} {} }; -class OptionalNotInitialized : public PowerGridError { - public: - OptionalNotInitialized(std::string const& object) - : PowerGridError{[&]() { - using namespace std::string_literals; - return "Optional "s + object + " object not initialized"s; - }()} {} -}; - using nlohmann::json; auto read_file(std::filesystem::path const& path) {