Build fix fo windows only
authorsugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 Oct 2013 19:34:27 +0000 (19:34 +0000)
committersugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 Oct 2013 19:34:27 +0000 (19:34 +0000)
Build fix

git-svn-id: http://skia.googlecode.com/svn/trunk@11828 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkRefCnt.cpp

index cf8923d..e9eaea9 100644 (file)
@@ -12,7 +12,8 @@
 SK_DEFINE_INST_COUNT(SkRefCnt)
 SK_DEFINE_INST_COUNT(SkWeakRefCnt)
 
+#ifdef SK_BUILD_FOR_WIN
 SkRefCnt::SkRefCnt(const SkRefCnt&) { }
-
-SkRefCnt::operator=(const SkRefCnt&) { }
+SkRefCnt& SkRefCnt::operator=(const SkRefCnt&) { return *this; }
+#endif