Kaydet (Commit) a9659f30 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No need for rtl::Reference friend, no need for #include vclptr.hxx

Change-Id: I7bdd15a93e728ef7e98a53001c6eb6b56f761a6d
üst cbf5b21f
......@@ -8,6 +8,8 @@
*/
#include <sal/config.h>
#include <vcl/vclptr.hxx>
#include <vcl/vclreferencebase.hxx>
struct Widget : public VclReferenceBase
......
......@@ -22,6 +22,7 @@
#include <rtl/ustring.hxx>
#include <tools/link.hxx>
#include <vcl/dllapi.h>
#include <vcl/vclptr.hxx>
#include <vcl/vclreferencebase.hxx>
#include <vector>
......
......@@ -20,8 +20,8 @@
#define INCLUDED_VCL_Reference_HXX
#include <vcl/dllapi.h>
#include <vcl/vclptr.hxx>
#include <tools/debug.hxx>
#include <cassert>
class VclReferenceBase;
......@@ -30,8 +30,7 @@ class VCL_DLLPUBLIC VclReferenceBase
{
mutable int mnRefCnt;
template<typename T> friend class ::rtl::Reference;
template<typename T> friend class ::VclPtr;
template<typename T> friend class VclPtr;
public:
inline void acquire() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment