aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2012-09-24 16:50:48 -0400
committermutantturkey <mutantturke@gmail.com>2012-09-24 16:50:48 -0400
commit4b3f87cc931202d1948eef870bfb12d0349fa6f4 (patch)
tree68f15054c01b8bd74e7ea44e3759d5ebfd789be3
parenta3e4944185885c51b7bdd31e7de88957e053d7b5 (diff)
MyPair.h line cleanups and formatting changes
-rw-r--r--fly-tools/MyPair.h55
1 files changed, 28 insertions, 27 deletions
diff --git a/fly-tools/MyPair.h b/fly-tools/MyPair.h
index 6a2a4fa..0e6518c 100644
--- a/fly-tools/MyPair.h
+++ b/fly-tools/MyPair.h
@@ -1,30 +1,31 @@
class MyPair {
-public:
- int first, second;
- MyPair(int x, int y) {
-
- this->first = x;
- this->second = y;
-
- }
- MyPair() {
-
- this->first = -1;
- this->second = -1;
-
- }
- MyPair(const MyPair &f) {
- this->first = f.getX();
- this->second = f.getY();
-
- }
- int getX() const {
- return this->first;
- }
-
- int getY() const {
- return this->second;
- }
-
+ public:
+
+ int first;
+ int second;
+
+ MyPair(int x, int y) {
+ this->first = x;
+ this->second = y;
+ }
+
+ MyPair() {
+ this->first = -1;
+ this->second = -1;
+ }
+
+ MyPair(const MyPair &f) {
+ this->first = f.getX();
+ this->second = f.getY();
+ }
+
+ int getX() const {
+ return this->first;
+ }
+
+ int getY() const {
+ return this->second;
+ }
+
};