Commit a7d1d438 authored by Kevin McNee's avatar Kevin McNee Committed by Commit Bot

Installer: Remove unnecessary reinterpret_cast

This is an upcast which can be done by implicit conversion, as other
methods in this class do.

Bug: None
Change-Id: I89d2c4958ddc0c822d8a22ea561bc49f5f7499a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435745
Commit-Queue: Greg Thompson <grt@chromium.org>
Auto-Submit: Kevin McNee <mcnee@chromium.org>
Reviewed-by: default avatarGreg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811638}
parent 8669b948
......@@ -175,10 +175,9 @@ WorkItem* WorkItemList::AddSetRegValueWorkItem(HKEY predefined_root,
const std::wstring& value_name,
int64_t value_data,
bool overwrite) {
WorkItem* item =
reinterpret_cast<WorkItem*>(WorkItem::CreateSetRegValueWorkItem(
predefined_root, key_path, wow64_access, value_name, value_data,
overwrite));
WorkItem* item = WorkItem::CreateSetRegValueWorkItem(
predefined_root, key_path, wow64_access, value_name, value_data,
overwrite);
AddWorkItem(item);
return item;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment