diff --git a/ApplicationCode/ProjectDataModel/Summary/RimSummaryCurveAutoName.cpp b/ApplicationCode/ProjectDataModel/Summary/RimSummaryCurveAutoName.cpp index c3e2c7001b..ea8bb162fe 100644 --- a/ApplicationCode/ProjectDataModel/Summary/RimSummaryCurveAutoName.cpp +++ b/ApplicationCode/ProjectDataModel/Summary/RimSummaryCurveAutoName.cpp @@ -305,7 +305,7 @@ void RimSummaryCurveAutoName::appendAddressDetails(std::string& if (m_wellSegmentNumber) { if (!text.empty()) text += ":"; - text += ":" + summaryAddress.wellSegmentNumber(); + text += std::to_string(summaryAddress.wellSegmentNumber()); } } break;