Friday, 27 January 2012

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

Git commit 76035a9e6f020dd04b70d5bc938ba9085465bf9e by Sebastian Trueg, on behalf of Raphael Kubo da Costa.
Committed on 31/12/2011 at 02:27.
Pushed by trueg 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/76035a9e6f020dd04b70d5bc938ba9085465bf9e

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: