commit ee6ca6e91da4b23a622d25044d9f9365568e251c
parent bd42f14af6247ae4ac578c8fd643be66b62d505d
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Thu, 21 Dec 2023 13:09:41 +0000
custom assign operators for tensor
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kfr/base/tensor.hpp b/include/kfr/base/tensor.hpp
@@ -357,7 +357,7 @@ public:
tensor(const tensor&& other) : tensor(static_cast<const tensor&>(other)) {}
#endif
-#if defined(CMT_COMPILER_IS_MSVC)
+#if defined(CMT_COMPILER_IS_MSVC) || true
tensor& operator=(const tensor& src) &
{
this->~tensor();