Skip to content

Commit 2b8b63a

Browse files
committed
Fix internal linter
1 parent 9fa4fd1 commit 2b8b63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/torchcodec/_core/DeviceInterface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ struct DeviceInterfaceKey {
3232

3333
explicit DeviceInterfaceKey(torch::DeviceType type) : deviceType(type) {}
3434

35-
DeviceInterfaceKey(torch::DeviceType type, const std::string_view& var)
36-
: deviceType(type), variant(var) {}
35+
DeviceInterfaceKey(torch::DeviceType type, const std::string_view& variant)
36+
: deviceType(type), variant(variant) {}
3737
};
3838

3939
class DeviceInterface {

0 commit comments

Comments
 (0)