From 21630fa813ecf39170e27ea03bb919d89a7daecd Mon Sep 17 00:00:00 2001
From: florent <florent@laas.fr>
Date: Mon, 28 Jun 2010 13:38:44 +0200
Subject: [PATCH] Move class Contiifstream into namespace dynamicgraph.

     * include/dynamic-graph/contiifstream.h,
     * src/debug/contiifstream.cpp.

     Otherwise, the package does not compile in debug mode.
---
 include/dynamic-graph/contiifstream.h | 4 +++-
 src/debug/contiifstream.cpp           | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/dynamic-graph/contiifstream.h b/include/dynamic-graph/contiifstream.h
index 583aa232..6f82d78c 100644
--- a/include/dynamic-graph/contiifstream.h
+++ b/include/dynamic-graph/contiifstream.h
@@ -52,6 +52,8 @@
 #else
 #  define DYNAMICGRAPHCONTIIFSTREAM_EXPORT
 #endif
+
+namespace dynamicgraph {
 /* --------------------------------------------------------------------- */
 /* --- CLASS ----------------------------------------------------------- */
 /* --------------------------------------------------------------------- */
@@ -79,7 +81,7 @@ public: /* --- READ LIST --- */
   
 
 };
-
+} // namespace dynamicgraph
 
 #endif /* #ifndef __CONTIIFSTREAM_HH__ */
 
diff --git a/src/debug/contiifstream.cpp b/src/debug/contiifstream.cpp
index 78c35579..c926ac03 100644
--- a/src/debug/contiifstream.cpp
+++ b/src/debug/contiifstream.cpp
@@ -20,6 +20,8 @@
 #include <dynamic-graph/contiifstream.h>
 #include <dynamic-graph/debug.h>
 
+using namespace dynamicgraph;
+
 Contiifstream::
 Contiifstream( const std::string& n )
   :filename(n),cursor(0),first(true) {}
-- 
GitLab