]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/generic/reference.h
ported bobtoolz
[xonotic/netradiant.git] / libs / generic / reference.h
index 2d9663403a42fbe3cf857a31779143f16891b2ef..62e2c238100be29066cd5590b0392fddc472500b 100644 (file)
@@ -36,14 +36,6 @@ public:
   explicit Reference(Type& contained) : m_contained(&contained)
   {
   }
-  Type& operator*() const
-  {
-    return *m_contained;
-  }
-  Type* operator->() const
-  {
-    return m_contained;
-  }
   operator Type&() const
   {
     return *m_contained;
@@ -87,14 +79,6 @@ public:
   explicit ConstReference(const Type& contained) : m_contained(&contained)
   {
   }
-  const Type& operator*() const
-  {
-    return *m_contained;
-  }
-  const Type* operator->() const
-  {
-    return m_contained;
-  }
   operator const Type&() const
   {
     return *m_contained;