Skip to content

Commit

Permalink
Remove double semicolons.
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Zientkiewicz <[email protected]>
  • Loading branch information
mzient committed Mar 3, 2025
1 parent b984f6d commit 2cd34ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dali/c_api_2/data_objects.h
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ class TensorListWrapper : public ITensorList {
if (samples[i].dtype != dtype)
throw std::invalid_argument(make_string("Unexpected data type in sample ", i, ". Got: ",
samples[i].dtype, ", expected ", dtype, "."));
ValidateSampleShape(i, make_cspan(samples[i].shape, samples[i].ndim), ndim);;
ValidateSampleShape(i, make_cspan(samples[i].shape, samples[i].ndim), ndim);
if (samples[i].layout && new_layout != samples[i].layout)
throw std::invalid_argument(make_string("Unexpected layout \"", samples[i].layout,
"\" in sample ", i, ". Expected: \"", new_layout, "\"."));
Expand Down
2 changes: 1 addition & 1 deletion dali/c_api_2/data_objects_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ TEST(CAPI2_TensorListTest, AttachBuffer) {
"HWC",
data.get(),
offsets,
deleter), DALI_SUCCESS) << daliGetLastErrorMessage();;
deleter), DALI_SUCCESS) << daliGetLastErrorMessage();

// The deleter doesn't actually delete - we still own the data.

Expand Down

0 comments on commit 2cd34ef

Please sign in to comment.