Skip to content

Commit

Permalink
Remove default value of DatasetAugmentations constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleCancilla committed Jun 9, 2021
1 parent 45b949c commit 83d324a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/eddl/include/ecvl/support_eddl.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class DatasetAugmentations
{
std::vector<shared_ptr<Augmentation>> augs_;
public:
DatasetAugmentations(const std::vector<shared_ptr<Augmentation>>& augs = { nullptr, nullptr, nullptr }) : augs_(augs) {}
DatasetAugmentations(const std::vector<shared_ptr<Augmentation>>& augs) : augs_(augs) {}

// This makes a deep copy of the Augmentations
DatasetAugmentations(const DatasetAugmentations& other)
Expand Down Expand Up @@ -365,7 +365,7 @@ class DLDataset : public Dataset
*/
DLDataset(const filesystem::path& filename,
const int batch_size,
const DatasetAugmentations& augs = DatasetAugmentations(),
const DatasetAugmentations& augs,
ColorType ctype = ColorType::RGB,
ColorType ctype_gt = ColorType::GRAY,
int num_workers = 1,
Expand Down

0 comments on commit 83d324a

Please sign in to comment.