Upstream fix https://gitlab.opengeosys.org/ogs/ogs/-/commit/9a8399b0d3cff032e70fe79a85dc35c4e7c662f2 diff --git a/Applications/Utils/FileConverter/NetCdfConverter.cpp b/Applications/Utils/FileConverter/NetCdfConverter.cpp index c6fb9f151d..622bd2cd54 100644 --- a/Applications/Utils/FileConverter/NetCdfConverter.cpp +++ b/Applications/Utils/FileConverter/NetCdfConverter.cpp @@ -232,11 +232,12 @@ static bool dimensionSelectionLoop(NcVar const& var, if (n_dims > 1) { std::string temp_str(""); - cout << "Is the parameter time-dependent?\n"; + std::cout << "Is the parameter time-dependent?\n"; while (dim_idx_map[0] == std::numeric_limits::max() && is_time_dep == true) { - cout << "Enter ID for temporal dimension or \"c\" to continue: "; + std::cout + << "Enter ID for temporal dimension or \"c\" to continue: "; std::getline(std::cin, temp_str); std::stringstream str_stream(temp_str); if (str_stream.str() == "c" || str_stream.str() == "continue")