mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ebos: avoid sign-comparison warning
seems like I didn't compile #364 with pedantic warning flags enabled.
This commit is contained in:
@@ -417,7 +417,7 @@ public:
|
||||
std::string oldParamName = param.substr(0, i);
|
||||
std::string oldParamValue = param.substr(i+1);
|
||||
std::string newParamName = "--" + oldParamName;
|
||||
for (int j = 0; j < newParamName.size(); ++j)
|
||||
for (size_t j = 0; j < newParamName.size(); ++j)
|
||||
if (newParamName[j] == '_')
|
||||
newParamName[j] = '-';
|
||||
errorMsg =
|
||||
|
||||
Reference in New Issue
Block a user