diff options
author | 2013-10-16 19:34:27 +0000 | |
---|---|---|
committer | 2013-10-16 19:34:27 +0000 | |
commit | 536dc83c58e2e90deb959cc077235c66cbf6c789 (patch) | |
tree | 51e1b7a226137d189d1e17ea4d01fd6ed948cf3f | |
parent | 0315ed8e5fec74ca143302d8c836494e7ffb63d9 (diff) |
Build fix fo windows only
Build fix
git-svn-id: http://skia.googlecode.com/svn/trunk@11828 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkRefCnt.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/SkRefCnt.cpp b/src/core/SkRefCnt.cpp index cf8923db00..e9eaea937a 100644 --- a/src/core/SkRefCnt.cpp +++ b/src/core/SkRefCnt.cpp @@ -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 |