Column: Dead code removal
This commit is contained in:
@@ -210,49 +210,6 @@ Column::Column ()
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Column::Column (const Column& other)
|
||||
{
|
||||
_name = other._name;
|
||||
_type = other._type;
|
||||
_style = other._style;
|
||||
_label = other._label;
|
||||
_label = other._report;
|
||||
_modifiable = other._modifiable;
|
||||
_uda = other._uda;
|
||||
_fixed_width = other._fixed_width;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Column& Column::operator= (const Column& other)
|
||||
{
|
||||
if (this != &other)
|
||||
{
|
||||
_name = other._name;
|
||||
_type = other._type;
|
||||
_style = other._style;
|
||||
_label = other._label;
|
||||
_report = other._report;
|
||||
_modifiable = other._modifiable;
|
||||
_uda = other._uda;
|
||||
_fixed_width = other._fixed_width;
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Column::operator== (const Column& other) const
|
||||
{
|
||||
return _name == other._name &&
|
||||
_type == other._type &&
|
||||
_style == other._style &&
|
||||
_label == other._label &&
|
||||
_report == other._report &&
|
||||
_modifiable == other._modifiable &&
|
||||
_uda == other._uda;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Column::~Column ()
|
||||
{
|
||||
|
||||
@@ -41,9 +41,6 @@ public:
|
||||
static Column* uda (const std::string&);
|
||||
|
||||
Column ();
|
||||
Column (const Column&);
|
||||
Column& operator= (const Column&);
|
||||
bool operator== (const Column&) const; // TODO Is this necessary?
|
||||
virtual ~Column ();
|
||||
|
||||
const std::string& name () const { return _name; }
|
||||
|
||||
Reference in New Issue
Block a user