]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix compilation with gcc 4.4
authorMaintenance team (INV) <mnt@vm-cos64-64-02.nnov.opencascade.com>
Thu, 3 Nov 2016 12:50:37 +0000 (15:50 +0300)
committerMaintenance team (INV) <mnt@vm-cos64-64-02.nnov.opencascade.com>
Thu, 3 Nov 2016 12:51:25 +0000 (15:51 +0300)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index cbe8fc71ea52ed81c9e57558f479f907f1a54a27..ca04c276df6b7174ba58e96d75c5fc28367eb79f 100644 (file)
@@ -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 = "";