Skip to content

Commit 9c5da20

Browse files
authored
Fix internal linter (#940)
1 parent 4b5422c commit 9c5da20

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)