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();