From 8804819e17a15189cd30f522b38a87624055448e Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 9 Dec 2023 00:50:14 -0600 Subject: [PATCH] [ox/model] Remove another const_cast --- deps/ox/src/ox/model/modelvalue.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/deps/ox/src/ox/model/modelvalue.hpp b/deps/ox/src/ox/model/modelvalue.hpp index a72c8146..2bacf6b1 100644 --- a/deps/ox/src/ox/model/modelvalue.hpp +++ b/deps/ox/src/ox/model/modelvalue.hpp @@ -144,8 +144,6 @@ class ModelValue { constexpr ModelValue(const ModelValue &other) noexcept; - constexpr ModelValue(ModelValue &other) noexcept; - constexpr ModelValue(ModelValue &&other) noexcept; template @@ -814,9 +812,6 @@ constexpr ModelValue::ModelValue(const ModelValue &other) noexcept { } } -constexpr ModelValue::ModelValue(ModelValue &other) noexcept: ModelValue(const_cast(other)) { -} - constexpr ModelValue::ModelValue(ModelValue &&other) noexcept { m_type = other.m_type; switch (m_type) {