| 211 | #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 10 || \ |
| 212 | (V8_MAJOR_VERSION == 10 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 5)) |
| 213 | template<typename T> struct CopyablePersistentTraits { |
| 214 | typedef v8::Persistent<T, CopyablePersistentTraits<T> > CopyablePersistent; |
| 215 | static const bool kResetInDestructor = true; |
| 216 | template <typename S, typename M> |
| 217 | static NAN_INLINE void Copy(const v8::Persistent<S, M> &source, |
| 218 | CopyablePersistent *dest) { |
| 219 | } |
| 220 | }; |
| 221 | #else |
| 222 | template<typename T> |
| 223 | class CopyablePersistentTraits : |
nothing calls this directly
no outgoing calls
no test coverage detected