From 6cb5a39a63a6383aa9fe006c760a8472df175cb0 Mon Sep 17 00:00:00 2001 From: Oleg Milyutin Date: Wed, 18 Dec 2024 01:18:12 +0000 Subject: [PATCH] Make overloaded use more clear --- ttnn/cpp/ttnn/tensor/tensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttnn/cpp/ttnn/tensor/tensor.cpp b/ttnn/cpp/ttnn/tensor/tensor.cpp index 7908ad959c1..5dd2a70106b 100644 --- a/ttnn/cpp/ttnn/tensor/tensor.cpp +++ b/ttnn/cpp/ttnn/tensor/tensor.cpp @@ -150,7 +150,7 @@ Tensor::Tensor( tt::stl::overloaded{ [](const DeviceStorage& s) { return s.memory_config(); }, [](const MultiDeviceStorage& s) { return s.memory_config(); }, - [](auto&&) { return MemoryConfig{}; }}, + [](const Other&) { return MemoryConfig{}; }}, storage); init(