summaryrefslogtreecommitdiff
path: root/lib/element.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/element.cpp')
-rw-r--r--lib/element.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/element.cpp b/lib/element.cpp
index 464ad94..e0269e7 100644
--- a/lib/element.cpp
+++ b/lib/element.cpp
@@ -30,6 +30,7 @@ Element::Element(void)
Element::Element(const std::string &name)
{
this->reset(new ElementImpl());
+ VAR(name);
(*this)->name = name;
(*this)->unique_id = ++unique_id_pool;