diff options
author | 2009-05-26 17:44:57 -0700 | |
---|---|---|
committer | 2009-05-26 17:47:39 -0700 | |
commit | 35801cea5f301c0e1d7a93b15a8f73f98e6b1033 (patch) | |
tree | 2cad208ad6212d912b6f3476c98c0873f8d56fd4 /libs/ui/Point.cpp | |
parent | 7419ebc96fa5ae665dd4426dc5a4277c9ae1f325 (diff) |
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.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ui/Point.cpp b/libs/ui/Point.cpp deleted file mode 100644 index 438d49fa4f..0000000000 --- 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> - |