From: Maintenance team (INV) Date: Thu, 3 Nov 2016 12:50:37 +0000 (+0300) Subject: Fix compilation with gcc 4.4 X-Git-Tag: Before_python3_27062017~1^2~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4ecb0c5e3e18fd14ce009a3a001ce177ca7cd29b;p=modules%2Fkernel.git Fix compilation with gcc 4.4 --- 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 = "";