From 1d262597a84f4d19deae03710a6e4e8191903919 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 7 Sep 2024 23:15:15 -0500 Subject: [PATCH] [keel] Make default repair return a no repair error --- src/olympic/keel/include/keel/assetmanager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/olympic/keel/include/keel/assetmanager.hpp b/src/olympic/keel/include/keel/assetmanager.hpp index b17d2cf1..152be9d4 100644 --- a/src/olympic/keel/include/keel/assetmanager.hpp +++ b/src/olympic/keel/include/keel/assetmanager.hpp @@ -29,7 +29,7 @@ constexpr bool valid(auto const&) noexcept { [[nodiscard]] constexpr ox::Error repair(auto const&) noexcept { - return {}; + return OxError(1, "No repair function for this type"); } #ifndef OX_BARE_METAL