We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc06ec commit 7118df1Copy full SHA for 7118df1
offload/liboffload/src/OffloadImpl.cpp
@@ -45,7 +45,7 @@ struct ol_device_impl_t {
45
ol_device_impl_t(int DeviceNum, GenericDeviceTy *Device,
46
ol_platform_handle_t Platform, InfoTreeNode &&DevInfo)
47
: DeviceNum(DeviceNum), Device(Device), Platform(Platform),
48
- Info(std::move(DevInfo)) {}
+ Info(std::forward<InfoTreeNode>(DevInfo)) {}
49
int DeviceNum;
50
GenericDeviceTy *Device;
51
ol_platform_handle_t Platform;
0 commit comments