diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-09 20:01:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-09 20:01:52 +0100 |
commit | a9659f30d6e50c138704f2fbc7f35cc282e7ec77 (patch) | |
tree | cda935370e14a0003868b65a6504e40cb025e266 /include | |
parent | cbf5b21f2a65bbb342295200f6ad93a00f90733e (diff) |
No need for rtl::Reference friend, no need for #include vclptr.hxx
Change-Id: I7bdd15a93e728ef7e98a53001c6eb6b56f761a6d
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/abstdlg.hxx | 1 | ||||
-rw-r--r-- | include/vcl/vclreferencebase.hxx | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx index c173326706c8..5303165f2e9b 100644 --- a/include/vcl/abstdlg.hxx +++ b/include/vcl/abstdlg.hxx @@ -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> diff --git a/include/vcl/vclreferencebase.hxx b/include/vcl/vclreferencebase.hxx index dbd3bc9ae1ae..ce3e973dac8c 100644 --- a/include/vcl/vclreferencebase.hxx +++ b/include/vcl/vclreferencebase.hxx @@ -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 |