aboutsummaryrefslogtreecommitdiff
path: root/composer/Pattern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'composer/Pattern.cpp')
-rw-r--r--composer/Pattern.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/Pattern.cpp b/composer/Pattern.cpp
index 8335b28..070838a 100644
--- a/composer/Pattern.cpp
+++ b/composer/Pattern.cpp
@@ -2,12 +2,12 @@
#include <iostream>
+#include "Common.hpp"
+
using std::cout;
using std::cerr;
using std::endl;
-#define WRAP(v,w) (((v)<0)?(((w)-1)-((-(v)-1)%(w))):((v)%(w)))
-
Pattern::Pattern(int numRows, int numCols, string patternName)
: name(patternName)
{