From e87627dec9aa34bdbb6f0097a8c1de1ce4f19c04 Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Mon, 28 Jul 2025 16:04:05 +0800 Subject: [PATCH] Update Config.hpp --- Convention/[Runtime]/Config.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Convention/[Runtime]/Config.hpp b/Convention/[Runtime]/Config.hpp index 40c2e63..5583597 100644 --- a/Convention/[Runtime]/Config.hpp +++ b/Convention/[Runtime]/Config.hpp @@ -1965,8 +1965,8 @@ namespace Convention /** * @brief 拷贝赋值函数 */ - template().WriteValue(std::declval().ReadConstValue())> - instance& operator=(const instance& value) noexcept + template().WriteValue(std::declval().ReadConstValue())>> + instance& operator=(const instance& value) { if constexpr (IsUnique) { @@ -1981,7 +1981,7 @@ namespace Convention /** * @brief 拷贝赋值函数 */ - virtual instance& operator=(const instance& value) noexcept + virtual instance& operator=(const instance& value) noexcept(IsUnique == false) { if constexpr (IsUnique) {