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:
bungeman@google.com 2012-06-01 19:47:51 +00:00
parent e70f798ebc
commit 04640299dc

View File

@ -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;