Skip to content

Commit 1a81658

Browse files
committed
explicit
1 parent b765629 commit 1a81658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/_core/Transform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class CropTransform : public Transform {
6262
CropTransform(const FrameDims& dims, int x, int y);
6363

6464
// Becomes a center crop if x and y are not specified.
65-
CropTransform(const FrameDims& dims);
65+
explicit CropTransform(const FrameDims& dims);
6666

6767
std::string getFilterGraphCpu() const override;
6868
std::optional<FrameDims> getOutputFrameDims() const override;

0 commit comments

Comments
 (0)