summaryrefslogtreecommitdiff
path: root/lib/element.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-02-21 19:48:54 -0800
committerJosh Blum2013-02-21 19:48:54 -0800
commit704e767819c1375012a5f8e1853d1c712750c3e0 (patch)
treecaa79a9e639ddf364a16abff53ac9c29100daba7 /lib/element.cpp
parentd9a62c13b76de2c6f1549cec92ee07f2411327a9 (diff)
downloadsandhi-704e767819c1375012a5f8e1853d1c712750c3e0.tar.gz
sandhi-704e767819c1375012a5f8e1853d1c712750c3e0.tar.bz2
sandhi-704e767819c1375012a5f8e1853d1c712750c3e0.zip
gras: inline shared to element so client libs dont need this symbol
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;