diff --git a/src/olympic/turbine/include/turbine/clipboard.hpp b/src/olympic/turbine/include/turbine/clipboard.hpp index 1fd747ac..83de7261 100644 --- a/src/olympic/turbine/include/turbine/clipboard.hpp +++ b/src/olympic/turbine/include/turbine/clipboard.hpp @@ -18,11 +18,6 @@ class BaseClipboardObject { [[nodiscard]] virtual ox::StringView typeId() const noexcept = 0; - - [[nodiscard]] - constexpr auto typeMatch(ox::StringView typeId) const noexcept { - return this->typeId() == typeId; - } }; template diff --git a/src/olympic/turbine/src/glfw/clipboard.cpp b/src/olympic/turbine/src/glfw/clipboard.cpp index 855c4512..2fd824bb 100644 --- a/src/olympic/turbine/src/glfw/clipboard.cpp +++ b/src/olympic/turbine/src/glfw/clipboard.cpp @@ -27,7 +27,7 @@ void setClipboardObject(Context &ctx, ox::UPtr &&obj) noexc } ox::Result getClipboardData(Context &ctx, ox::StringView typeId) noexcept { - if (ctx.clipboard && ctx.clipboard->typeMatch(typeId)) { + if (ctx.clipboard && ctx.clipboard->typeId() == typeId) { return ctx.clipboard.get(); } return OxError(1);