From 4b3f87cc931202d1948eef870bfb12d0349fa6f4 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Mon, 24 Sep 2012 16:50:48 -0400 Subject: MyPair.h line cleanups and formatting changes --- fly-tools/MyPair.h | 55 +++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 27 deletions(-) (limited to 'fly-tools') 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; + } + }; -- cgit v1.2.3