More compiler whack-a-mole.
clang didn't like the reinterpret_cast either: ..\..\sandbox\win\sandbox_poc\pocdll\registry.cc(24,10) : error(clang): case value is not a constant expression case reinterpret_cast<LONG_PTR>(HKEY_USERS): ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..\..\sandbox\win\sandbox_poc\pocdll\registry.cc(24,10) : note(clang): reinterpret_cast is not allowed in a constant expression Since this function doesn't prevent any duplication, just kill it and pass the string to Try() manually. No behavior change. BUG=82385 R=cpu@chromium.org Review URL: https://codereview.chromium.org/543153002 Cr-Commit-Position: refs/heads/master@{#293580}
Showing
Please register or sign in to comment