VC++ allows template parameter shadowing.
git-svn-id: http://skia.googlecode.com/svn/trunk@4127 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
e70f798ebc
commit
04640299dc
@ -142,10 +142,10 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
* BlockRef<T> is a type which inherits from T, cannot be created,
|
||||
* BlockRef<B> is a type which inherits from B, cannot be created,
|
||||
* and makes ref and unref private.
|
||||
*/
|
||||
template<typename T> class BlockRef : public T {
|
||||
template<typename B> class BlockRef : public B {
|
||||
private:
|
||||
BlockRef();
|
||||
void ref() const;
|
||||
|
Loading…
Reference in New Issue
Block a user