summaryrefslogtreecommitdiff
path: root/include/vcl/vclptr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/vclptr.hxx')
-rw-r--r--include/vcl/vclptr.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/vcl/vclptr.hxx b/include/vcl/vclptr.hxx
index 372b8178c6c3..ad7d1e20d9eb 100644
--- a/include/vcl/vclptr.hxx
+++ b/include/vcl/vclptr.hxx
@@ -223,21 +223,6 @@ public:
{
return (m_rInnerRef > handle.m_rInnerRef);
}
-
- /** Deleted address-of operator.
-
- To avoid confusion whether it returns the address of either the
- pointed-to raw object (for which to use VclPtr::get instead) or the
- wrapper itself (for which to use std::addressof instead).
-
- (Cannot be deleted at least with MSVC 12, as at least the innards of
- std::stable_sort on a std::vector<VclPtr<T>>, as called from
- TaskPaneList::FindNextSplitter in vcl/source/window/taskpanelist.cxx
- require an address-of operator for VclPtr<T>.)
- */
-#if !defined _MSC_VER
- void operator &() = delete;
-#endif
}; // class VclPtr
template<typename T1, typename T2>