aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/box_indicator.h (renamed from src/box_indicator.h)10
-rw-r--r--src/util/box_traverser.h (renamed from src/box_traverser.h)6
-rw-r--r--src/world.h2
3 files changed, 9 insertions, 9 deletions
diff --git a/src/box_indicator.h b/src/util/box_indicator.h
index db750e4..c0493c7 100644
--- a/src/box_indicator.h
+++ b/src/util/box_indicator.h
@@ -1,5 +1,5 @@
-#ifndef LIFE_SRC_BOX_INDICATOR_
-#define LIFE_SRC_BOX_INDICATOR_
+#ifndef LIFE_SRC_UTIL_BOX_INDICATOR_
+#define LIFE_SRC_UTIL_BOX_INDICATOR_
namespace life {
namespace util {
@@ -25,7 +25,7 @@ class BoxIndicator {
&& y >= this->a_y_
&& y < this->b_y_;
}
-
+
protected:
const std::size_t a_x_;
const std::size_t a_y_;
@@ -33,8 +33,8 @@ class BoxIndicator {
const std::size_t b_y_;
};
-
+
}
}
-#endif // LIFE_SRC_BOX_INDICATOR_
+#endif // LIFE_SRC_UTIL_BOX_INDICATOR_
diff --git a/src/box_traverser.h b/src/util/box_traverser.h
index 1bc0edd..cb7dfeb 100644
--- a/src/box_traverser.h
+++ b/src/util/box_traverser.h
@@ -1,5 +1,5 @@
-#ifndef LIFE_SRC_BOX_TRAVERSER_
-#define LIFE_SRC_BOX_TRAVERSER_
+#ifndef LIFE_SRC_UTIL_BOX_TRAVERSER_
+#define LIFE_SRC_UTIL_BOX_TRAVERSER_
#include <functional>
@@ -23,4 +23,4 @@ struct BoxTraverser : public BoxIndicator {
}
}
-#endif // LIFE_SRC_BOX_TRAVERSER_
+#endif // LIFE_SRC_UTIL_BOX_TRAVERSER_
diff --git a/src/world.h b/src/world.h
index b60c658..fde9762 100644
--- a/src/world.h
+++ b/src/world.h
@@ -6,7 +6,7 @@
#include <tuple>
#include <cstdint>
-#include "box_traverser.h"
+#include "util/box_traverser.h"
namespace life {