Commit c6128bee authored by Claes Sjofors's avatar Claes Sjofors

Ge IncrAnalog copy bugfix

parent 0bcb0695
...@@ -1922,7 +1922,7 @@ class GeIncrAnalog : public GeDynElem { ...@@ -1922,7 +1922,7 @@ class GeIncrAnalog : public GeDynElem {
{ strcpy( attribute, "");} { strcpy( attribute, "");}
GeIncrAnalog( const GeIncrAnalog& x) : GeIncrAnalog( const GeIncrAnalog& x) :
GeDynElem(x.dyn,x.dyn_type1,x.dyn_type2,x.action_type1,x.action_type2,x.prio), increment(x.increment), GeDynElem(x.dyn,x.dyn_type1,x.dyn_type2,x.action_type1,x.action_type2,x.prio), increment(x.increment),
min_value(min_value), max_value(max_value) min_value(x.min_value), max_value(x.max_value)
{ strcpy( attribute, x.attribute);} { strcpy( attribute, x.attribute);}
void get_attributes( attr_sItem *attrinfo, int *item_count); void get_attributes( attr_sItem *attrinfo, int *item_count);
void save( ofstream& fp); void save( ofstream& fp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment