diff options
Diffstat (limited to 'JavaScriptCore/wtf/VectorTraits.h')
-rw-r--r-- | JavaScriptCore/wtf/VectorTraits.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/JavaScriptCore/wtf/VectorTraits.h b/JavaScriptCore/wtf/VectorTraits.h index c62a0bf..71aaec8 100644 --- a/JavaScriptCore/wtf/VectorTraits.h +++ b/JavaScriptCore/wtf/VectorTraits.h @@ -1,4 +1,3 @@ -// -*- mode: c++; c-basic-offset: 4 -*- /* * This file is part of the KDE libraries * Copyright (C) 2006 Apple Computer, Inc. @@ -25,6 +24,7 @@ #include "RefPtr.h" #include <utility> +#include <memory> using std::pair; @@ -94,6 +94,9 @@ namespace WTF { template<typename P> struct VectorTraits<RefPtr<P> > : SimpleClassVectorTraits { }; + template<typename P> + struct VectorTraits<std::auto_ptr<P> > : SimpleClassVectorTraits { }; + template<typename First, typename Second> struct VectorTraits<pair<First, Second> > { |