!42055 clean code
Merge pull request !42055 from qiuzhongya/qiuzhongya_cleancode2
This commit is contained in:
commit
b00f991437
|
@ -113,6 +113,8 @@ class DATASET_API Slice {
|
|||
|
||||
Slice(Slice const &slice) = default;
|
||||
|
||||
Slice &operator=(const Slice &slice) = default;
|
||||
|
||||
~Slice() = default;
|
||||
|
||||
bool valid() const { return step_ != 0; }
|
||||
|
@ -152,6 +154,8 @@ class DATASET_API SliceOption {
|
|||
|
||||
SliceOption(SliceOption const &slice) = default;
|
||||
|
||||
SliceOption &operator=(const SliceOption &slice) = default;
|
||||
|
||||
~SliceOption() = default;
|
||||
|
||||
// only one of the following will be valid
|
||||
|
|
Loading…
Reference in New Issue