diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-16 16:28:58 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-16 16:28:58 +0000 |
commit | edb7713cd57cf055d8146c71953417bd2b4cae7c (patch) | |
tree | a9824c1688649810fdee31031449cc38a53915b2 /include | |
parent | 4668e13c3778a04bb517e22a77a02cdb41a0f2c5 (diff) |
mark default constructor for SkMatrix44 as deprecated, since it calls setIdentity()
and we have explicit (enum-based) constructors to distinguish that from uninitialized.
git-svn-id: http://skia.googlecode.com/svn/trunk@7228 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/SkMatrix44.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/SkMatrix44.h b/include/utils/SkMatrix44.h index 22cbd79ba0..41f1a30209 100644 --- a/include/utils/SkMatrix44.h +++ b/include/utils/SkMatrix44.h @@ -112,6 +112,7 @@ public: SkMatrix44(Uninitialized_Constructor) { } SkMatrix44(Identity_Constructor) { this->setIdentity(); } + // DEPRECATED: use the constructors that take an enum SkMatrix44() { this->setIdentity(); } SkMatrix44(const SkMatrix44& src) { |