Friday, 30 December 2011

[kdelibs/KDE/4.8] kjs/wtf: Add missing include.

Git commit 01b0c1a8051f372e400d213ac125311c398e4b17 by Raphael Kubo da Costa.
Committed on 31/12/2011 at 02:27.
Pushed by rkcosta into branch 'KDE/4.8'.

Add missing include.

RefPtr::release() needs PassRefPtr.h for adoptRef(). The include is also
present in WebKit's wtf.

This should fix another build failure with clang.

M +1 -0 kjs/wtf/RefPtr.h

http://commits.kde.org/kdelibs/01b0c1a8051f372e400d213ac125311c398e4b17

diff --git a/kjs/wtf/RefPtr.h b/kjs/wtf/RefPtr.h
index c16397e..493ab05 100644
--- a/kjs/wtf/RefPtr.h
+++ b/kjs/wtf/RefPtr.h
@@ -24,6 +24,7 @@

#include <algorithm>
#include "AlwaysInline.h"
+#include "PassRefPtr.h"

namespace WTF {

0 comments: