summaryrefslogtreecommitdiff
path: root/include/rtl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-11 16:32:28 +0200
committerNoel Grandin <noel@peralex.com>2014-07-14 11:07:47 +0200
commit0c6c66b64a9572a8e474f6dfdedcbebfe54758af (patch)
treeb50956af345b6a5c585b727b60eeafa75d56dbb7 /include/rtl
parent96afb3cf40d913dfcfc6f51240efd33f9d0740a6 (diff)
remove IReference
now that it is unused Change-Id: I95d9f4cc50114dd9f9c9f5d095372766f44b3094
Diffstat (limited to 'include/rtl')
-rw-r--r--include/rtl/ref.hxx23
1 files changed, 1 insertions, 22 deletions
diff --git a/include/rtl/ref.hxx b/include/rtl/ref.hxx
index 3e90ed2b4707..77de66ab7348 100644
--- a/include/rtl/ref.hxx
+++ b/include/rtl/ref.hxx
@@ -30,28 +30,7 @@
namespace rtl
{
-/** Interface for a reference type.
-*/
-class IReference
-{
-public:
- /** @see osl_incrementInterlockedCount.
- */
- virtual oslInterlockedCount SAL_CALL acquire() = 0;
-
- /** @see osl_decrementInterlockedCount.
- */
- virtual oslInterlockedCount SAL_CALL release() = 0;
-
-#if !defined _MSC_VER // public -> protected changes mangled names there
-protected:
-#endif
- ~IReference() {}
- // avoid warnings about virtual members and non-virtual dtor
-};
-
-
-/** Template reference class for reference type derived from IReference.
+/** Template reference class for reference type.
*/
template <class reference_type>
class Reference