summaryrefslogtreecommitdiffstats
path: root/src/libvpsc/generate-constraints.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvpsc/generate-constraints.h')
-rw-r--r--src/libvpsc/generate-constraints.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libvpsc/generate-constraints.h b/src/libvpsc/generate-constraints.h
index 56ee9536a..8b858af3f 100644
--- a/src/libvpsc/generate-constraints.h
+++ b/src/libvpsc/generate-constraints.h
@@ -13,6 +13,7 @@
#define SEEN_REMOVEOVERLAP_GENERATE_CONSTRAINTS_H
#include <iostream>
+namespace vpsc {
class Rectangle {
friend std::ostream& operator <<(std::ostream &os, const Rectangle &r);
public:
@@ -74,5 +75,6 @@ class Constraint;
int generateXConstraints(const int n, Rectangle** rs, Variable** vars, Constraint** &cs, const bool useNeighbourLists);
int generateYConstraints(const int n, Rectangle** rs, Variable** vars, Constraint** &cs);
+}
#endif // SEEN_REMOVEOVERLAP_GENERATE_CONSTRAINTS_H