## 78_atomicity.dpatch by  <domibel@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fix #625059 , error: reference 'serr' cannot be declared 'mutable' [-fpermissive]

Index: sofa-framework-1.0~beta4/framework/sofa/core/objectmodel/Base.h
===================================================================
--- sofa-framework-1.0~beta4.orig/framework/sofa/core/objectmodel/Base.h	2011-05-07 16:18:02.000000000 -0400
+++ sofa-framework-1.0~beta4/framework/sofa/core/objectmodel/Base.h	2011-05-07 16:18:06.000000000 -0400
@@ -279,8 +279,8 @@
     std::multimap< std::string, BaseData* > getAliases() { return m_aliasData; }
 
     mutable sofa::helper::system::SofaOStream sendl;
-    mutable std::ostringstream               &serr;
-    mutable std::ostringstream               &sout;
+    std::ostringstream               &serr;
+    std::ostringstream               &sout;
 
 
 protected:
Index: sofa-framework-1.0~beta4/framework/sofa/core/core.h
===================================================================
--- sofa-framework-1.0~beta4.orig/framework/sofa/core/core.h	2011-05-07 16:21:56.000000000 -0400
+++ sofa-framework-1.0~beta4/framework/sofa/core/core.h	2011-05-07 16:22:12.000000000 -0400
@@ -28,6 +28,7 @@
 #define SOFA_CORE_H
 
 #include <sofa/helper/system/config.h>
+#include <cstddef>
 
 #ifdef SOFA_BUILD_CORE
 #	define SOFA_CORE_API SOFA_EXPORT_DYNAMIC_LIBRARY
