UpscalerBase: avoid use of sstream

This commit is contained in:
Arne Morten Kvarving
2023-01-02 13:29:37 +01:00
parent 2743337969
commit 112dff118a
+1 -1
View File
@@ -272,7 +272,7 @@ namespace Opm
}
break;
default:
OPM_THROW(std::runtime_error, "Unknown boundary type: " << bctype_);
OPM_THROW(std::runtime_error, "Unknown boundary type: " + std::to_string(bctype_));
}
double delta = computeDelta(pdd);
for (int i = 0; i < Dimension; ++i) {