summaryrefslogtreecommitdiff
path: root/lib/element.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/element.cpp')
-rw-r--r--lib/element.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/element.cpp b/lib/element.cpp
index 27a5db0..a10e298 100644
--- a/lib/element.cpp
+++ b/lib/element.cpp
@@ -35,16 +35,6 @@ ElementImpl::~ElementImpl(void)
if (this->block) this->block_cleanup();
}
-Element &Element::shared_to_element(void)
-{
- try
- {
- this->weak_self = this->shared_from_this();
- }
- catch(...){}
- return *this;
-}
-
long Element::unique_id(void) const
{
return (*this)->unique_id;