diff options
author | Josh Blum | 2012-11-03 16:22:56 -0700 |
---|---|---|
committer | Josh Blum | 2012-11-03 16:22:56 -0700 |
commit | 0b6be66da90cf18130891682969a1d74c0ba1c87 (patch) | |
tree | 844445925b9c6e17749e2d200b2dec6af3090497 /lib | |
parent | 69a0c4fb988181de3ea8caef71b480f794882c0f (diff) | |
download | sandhi-0b6be66da90cf18130891682969a1d74c0ba1c87.tar.gz sandhi-0b6be66da90cf18130891682969a1d74c0ba1c87.tar.bz2 sandhi-0b6be66da90cf18130891682969a1d74c0ba1c87.zip |
moved around the shared ptr logic in Element
Diffstat (limited to 'lib')
-rw-r--r-- | lib/element.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/element.cpp b/lib/element.cpp index 83466c2..4ac52ea 100644 --- a/lib/element.cpp +++ b/lib/element.cpp @@ -57,7 +57,7 @@ Element &Element::shared_to_element(void) this->weak_self = this->shared_from_this(); } catch(...){} - return this->derived_to_element(); + return *this; } long Element::unique_id(void) const |