Skip to content

Commit 2cd34ef

Browse files
committed
Remove double semicolons.
Signed-off-by: Michał Zientkiewicz <[email protected]>
1 parent b984f6d commit 2cd34ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dali/c_api_2/data_objects.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ class TensorListWrapper : public ITensorList {
521521
if (samples[i].dtype != dtype)
522522
throw std::invalid_argument(make_string("Unexpected data type in sample ", i, ". Got: ",
523523
samples[i].dtype, ", expected ", dtype, "."));
524-
ValidateSampleShape(i, make_cspan(samples[i].shape, samples[i].ndim), ndim);;
524+
ValidateSampleShape(i, make_cspan(samples[i].shape, samples[i].ndim), ndim);
525525
if (samples[i].layout && new_layout != samples[i].layout)
526526
throw std::invalid_argument(make_string("Unexpected layout \"", samples[i].layout,
527527
"\" in sample ", i, ". Expected: \"", new_layout, "\"."));

dali/c_api_2/data_objects_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ TEST(CAPI2_TensorListTest, AttachBuffer) {
202202
"HWC",
203203
data.get(),
204204
offsets,
205-
deleter), DALI_SUCCESS) << daliGetLastErrorMessage();;
205+
deleter), DALI_SUCCESS) << daliGetLastErrorMessage();
206206

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

0 commit comments

Comments
 (0)