From dd31131021e2b5ef16b4f3cdec3cf328adcfd6cc Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 12 Nov 2012 20:43:59 +0000 Subject: add const to src parameter for mapMScalars() git-svn-id: http://skia.googlecode.com/svn/trunk@6386 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/utils/SkMatrix44.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/utils/SkMatrix44.h b/include/utils/SkMatrix44.h index 9926b79929..cff0d04a3d 100644 --- a/include/utils/SkMatrix44.h +++ b/include/utils/SkMatrix44.h @@ -201,9 +201,9 @@ public: } #ifdef SK_MSCALAR_IS_DOUBLE - void mapMScalars(SkMScalar src[4], SkMScalar dst[4]) const; + void mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const; #else - void mapMScalars(SkMScalar src[4], SkMScalar dst[4]) const { + void mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const { this->mapScalars(src, dst); } #endif -- cgit v1.2.3