summaryrefslogtreecommitdiff
path: root/impl/Variable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'impl/Variable.hpp')
-rw-r--r--impl/Variable.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/impl/Variable.hpp b/impl/Variable.hpp
index a174ea8..35a3991 100644
--- a/impl/Variable.hpp
+++ b/impl/Variable.hpp
@@ -7,9 +7,9 @@
template<typename T>
struct Variable : public Operator<T> {
Variable(unsigned int id, const std::string& name)
- : _id(id), _name(name) { }
+ : Operator<T>(name), _id(id), _name(name) { }
Variable(const Variable& other)
- : _id(other._id) { }
+ : Operator<T>(name), _id(other._id) { }
unsigned int id() const {
return _id;
}