From 361e40191a82b69fe7549215bd27db94c05fc083 Mon Sep 17 00:00:00 2001 From: Harald Fernengel Date: Mon, 10 Aug 2009 17:11:20 +0200 Subject: s/class/struct/ Stop confusing MSVC by correctly forward declare QScopedPointerDeleter as struct --- src/corelib/io/qdir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 836fa44..5e24bf4 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -86,7 +86,7 @@ class QDirPrivate QDir *q_ptr; Q_DECLARE_PUBLIC(QDir) - friend class QScopedPointerDeleter; + friend struct QScopedPointerDeleter; protected: QDirPrivate(QDir*, const QDir *copy=0); ~QDirPrivate(); -- cgit v0.12