-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unset DELETE method on Windows #161
Conversation
…-fuel-tools into win_delete
How about renaming it already? Maybe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DCO needs to be signed and codecheck fixed. Renaming DELETE
doesn't need to be addressed on this PR.
@@ -29,6 +29,8 @@ | |||
// std::string | |||
#pragma warning(push) | |||
#pragma warning(disable: 4251) | |||
// TODO: rename the DELETE method which is a reserved word in Windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
codecheck is failing:
/github/workspace/include/ignition/fuel_tools/RestClient.hh:32: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
/github/workspace/include/ignition/fuel_tools/Result.hh:31: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
…ls into win_delete Signed-off-by: Jose Luis Rivero <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #161 +/- ##
=======================================
Coverage 77.85% 77.85%
=======================================
Files 19 19
Lines 2606 2606
=======================================
Hits 2029 2029
Misses 577 577
Continue to review full report at Codecov.
|
Delete is a reserved word on Windows. This PR runs the workaround of unset it so the ResultType class can compile. To real fix the problem I think that we need to plan a migration from using the reserved word to another (REMOVE or something like that)