Use initializer list in ISorter.
parent
be230c1a29
commit
91da641adc
|
@ -42,10 +42,7 @@ protected:
|
|||
}
|
||||
|
||||
public:
|
||||
ISorter(bool isDescending)
|
||||
{
|
||||
_isDescending = isDescending;
|
||||
};
|
||||
ISorter(bool isDescending) : _isDescending(isDescending) { };
|
||||
virtual ~ISorter() { };
|
||||
virtual std::vector<generic_string> sort(std::vector<generic_string> lines) = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue