From 704e767819c1375012a5f8e1853d1c712750c3e0 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 21 Feb 2013 19:48:54 -0800 Subject: gras: inline shared to element so client libs dont need this symbol --- lib/element.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/element.cpp') 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; -- cgit