From 4ecb0c5e3e18fd14ce009a3a001ce177ca7cd29b Mon Sep 17 00:00:00 2001 From: "Maintenance team (INV)" Date: Thu, 3 Nov 2016 15:50:37 +0300 Subject: [PATCH] Fix compilation with gcc 4.4 --- src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index cbe8fc71e..ca04c276d 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -138,7 +138,9 @@ SALOMEDSImpl_Study::~SALOMEDSImpl_Study() void SALOMEDSImpl_Study::Init() { static int _id = 0; - _name = "Study" + std::to_string(++_id); + std::stringstream sstrm; + sstrm << ++_id; + _name = "Study" + std::string(sstrm.str()); _doc = _appli->NewDocument("SALOME_STUDY"); _Saved = false ; _URL = ""; -- 2.30.2