Minor fixes to build under Clang:
- Remove an unused ctor that was wrong anyway. - Add magic angle brackets to a template declaration. Patch-by: Evan Martin git-svn-id: http://skia.googlecode.com/svn/trunk@563 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
70a303f3c9
commit
39d39c223a
@ -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);
|
||||
|
@ -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*);
|
||||
|
Loading…
Reference in New Issue
Block a user