From 14807363ea2ca543d47e3e461ad4c6d7b0e8c763 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 2 Jan 2023 13:55:17 +0100 Subject: [PATCH] EcfvStencil: avoid use of sstream --- opm/models/discretization/ecfv/ecfvstencil.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/models/discretization/ecfv/ecfvstencil.hh b/opm/models/discretization/ecfv/ecfvstencil.hh index 425485f4d..c5c522f35 100644 --- a/opm/models/discretization/ecfv/ecfvstencil.hh +++ b/opm/models/discretization/ecfv/ecfvstencil.hh @@ -242,7 +242,8 @@ public: case 5: return Dir::ZPlus; default: - OPM_THROW(std::runtime_error, "Unexpected face id" << dirId_); + OPM_THROW(std::runtime_error, + "Unexpected face id" + std::to_string(dirId_)); } }