diff options
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 |