summaryrefslogtreecommitdiff
path: root/include/gras/detail
diff options
context:
space:
mode:
authorJosh Blum2013-04-03 23:58:52 -0700
committerJosh Blum2013-04-03 23:58:52 -0700
commit06b800166e995cf53ec0f87200427512e1518d8f (patch)
treecf75d446f986f0bee4976bd4d2d99ea1397cceff /include/gras/detail
parentf7f459df3b1b4349138324b14703fc18bff7e2a6 (diff)
parentc85fe5cb75d32544eb89a573e8df61757a940766 (diff)
downloadsandhi-06b800166e995cf53ec0f87200427512e1518d8f.tar.gz
sandhi-06b800166e995cf53ec0f87200427512e1518d8f.tar.bz2
sandhi-06b800166e995cf53ec0f87200427512e1518d8f.zip
Merge branch 'ownership_work'
Diffstat (limited to 'include/gras/detail')
-rw-r--r--include/gras/detail/element.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/gras/detail/element.hpp b/include/gras/detail/element.hpp
index 35033e1..2b97c8f 100644
--- a/include/gras/detail/element.hpp
+++ b/include/gras/detail/element.hpp
@@ -11,17 +11,6 @@ namespace gras
*this = elem->shared_to_element();
}
- //! Convert a shared ptr of a derived class to an Element
- inline Element &Element::shared_to_element(void)
- {
- try
- {
- this->weak_self = this->shared_from_this();
- }
- catch(...){}
- return *this;
- }
-
} //namespace gras
#endif /*INCLUDED_GRAS_DETAIL_ELEMENT_HPP*/