[PPL-devel] [GIT] ppl/ppl(pip): Forward declare classes before making them friends.
Enea Zaffanella
zaffanella at cs.unipr.it
Mon Feb 15 11:29:28 CET 2010
Module: ppl/ppl
Branch: pip
Commit: 3f15af9db40f7ca5148960bd4d572d46c7f2830a
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=3f15af9db40f7ca5148960bd4d572d46c7f2830a
Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date: Mon Jan 25 14:41:09 2010 +0100
Forward declare classes before making them friends.
Included Grid.types.hh in Congruence_/Grid_Generator_ System.defs.hh.
Do not uselessly include Grid.types.hh in Generator_system.defs.hh.
---
src/Congruence_System.defs.hh | 1 +
src/Generator_System.defs.hh | 1 -
src/Grid_Generator_System.defs.hh | 1 +
3 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/Congruence_System.defs.hh b/src/Congruence_System.defs.hh
index abf2c78..aafa664 100644
--- a/src/Congruence_System.defs.hh
+++ b/src/Congruence_System.defs.hh
@@ -29,6 +29,7 @@ site: http://www.cs.unipr.it/ppl/ . */
#include "Congruence.types.hh"
#include "Grid_Generator.types.hh"
#include "Matrix.defs.hh"
+#include "Grid.types.hh"
#include "Grid_Certificate.types.hh"
#include <iosfwd>
diff --git a/src/Generator_System.defs.hh b/src/Generator_System.defs.hh
index a6413c2..b34f895 100644
--- a/src/Generator_System.defs.hh
+++ b/src/Generator_System.defs.hh
@@ -31,7 +31,6 @@ site: http://www.cs.unipr.it/ppl/ . */
#include "Constraint.types.hh"
#include "Polyhedron.types.hh"
#include "Poly_Con_Relation.defs.hh"
-#include "Grid.types.hh"
#include <iosfwd>
namespace Parma_Polyhedra_Library {
diff --git a/src/Grid_Generator_System.defs.hh b/src/Grid_Generator_System.defs.hh
index 2c3d783..7ad7960 100644
--- a/src/Grid_Generator_System.defs.hh
+++ b/src/Grid_Generator_System.defs.hh
@@ -27,6 +27,7 @@ site: http://www.cs.unipr.it/ppl/ . */
#include "Generator_System.defs.hh"
#include "Grid_Generator.types.hh"
#include "Variables_Set.types.hh"
+#include "Grid.types.hh"
#include <iosfwd>
namespace Parma_Polyhedra_Library {
More information about the PPL-devel
mailing list