From 47dd4fad4b1636fa282a607a24f966c446cc8386 Mon Sep 17 00:00:00 2001 From: Huamonarch Date: Wed, 13 May 2026 16:02:27 +0800 Subject: [PATCH] fix: qualify is_same_v with std:: in FlowData constructor --- TestProject/RNG/read_csv.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TestProject/RNG/read_csv.hpp b/TestProject/RNG/read_csv.hpp index f49ab6f..d3666c8 100644 --- a/TestProject/RNG/read_csv.hpp +++ b/TestProject/RNG/read_csv.hpp @@ -49,9 +49,9 @@ struct FlowData { int length; int cols; FlowData(string file_name = "D102-1#酸槽数据.csv") { - if constexpr (is_same_v) { + if constexpr (std::is_same_v) { data = readf(file_name); - } else if constexpr (is_same_v) { + } else if constexpr (std::is_same_v) { data = readi(file_name); } length = data.size();