Commit 4e8989e3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

RuntimeNPObject: Remove unneeded cast

parent c1f3a397
......@@ -126,8 +126,7 @@ protected:
static NPObject *Allocate(NPP instance, NPClass *aClass)
const RuntimeNPClass<T> *vClass = static_cast<RuntimeNPClass<T> *>(aClass);
return new T(instance, vClass);
return new T(instance, aClass);
static void Deallocate(NPObject *npobj)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment