aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkFloat.h2
-rw-r--r--src/images/SkImageDecoder_Factory.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/core/SkFloat.h b/src/core/SkFloat.h
index 31aaeedee2..9435dd0eab 100644
--- a/src/core/SkFloat.h
+++ b/src/core/SkFloat.h
@@ -96,8 +96,6 @@ public:
private:
int32_t fPacked;
- SkFloat(int32_t packed) : fPacked(fPacked) {}
-
public:
static int GetShift(int32_t packed, int shift);
static int32_t SetShift(int value, int shift);
diff --git a/src/images/SkImageDecoder_Factory.cpp b/src/images/SkImageDecoder_Factory.cpp
index e7c71e52c9..2090d857dc 100644
--- a/src/images/SkImageDecoder_Factory.cpp
+++ b/src/images/SkImageDecoder_Factory.cpp
@@ -22,7 +22,7 @@
typedef SkTRegistry<SkImageDecoder*, SkStream*> DecodeReg;
-template DecodeReg* DecodeReg::gHead;
+template<> DecodeReg* DecodeReg::gHead;
#ifdef SK_ENABLE_LIBPNG
extern SkImageDecoder* sk_libpng_dfactory(SkStream*);