summaryrefslogtreecommitdiffstats
path: root/libs/ui/Point.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-26 17:44:57 -0700
committerMathias Agopian <mathias@google.com>2009-05-26 17:47:39 -0700
commitf1472a79728324f4f6b5d66af986e9e9db24d0aa (patch)
treea2564a0aa4ee3ebb7ff4980ca86dbac09ecbec7e /libs/ui/Point.cpp
parentc29df57e5abb09c7e1ceed153e8f2b906f522d7b (diff)
downloadframeworks_base-f1472a79728324f4f6b5d66af986e9e9db24d0aa.zip
frameworks_base-f1472a79728324f4f6b5d66af986e9e9db24d0aa.tar.gz
frameworks_base-f1472a79728324f4f6b5d66af986e9e9db24d0aa.tar.bz2
minor clean-up to Rect and Point.
- return "const" objects for overloaded operators to disallow constructs like: (a+b) = c; - don't return references to non-static members, it's not always safe. - Point.cpp was empty, so get rid of it
Diffstat (limited to 'libs/ui/Point.cpp')
-rw-r--r--libs/ui/Point.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ui/Point.cpp b/libs/ui/Point.cpp
deleted file mode 100644
index 438d49f..0000000
--- a/libs/ui/Point.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * Point.cpp
- * Android
- *
- * Created on 11/16/2006.
- * Copyright 2005 The Android Open Source Project
- *
- */
-
-#include <ui/Point.h>
-