| Summary: | Automatically generated explicit constructor has the explicit keyword in constructor definition | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Shayan <shayan.pooya> | ||||
| Component: | cdt-refactoring | Assignee: | Marc-André Laperle <malaperle> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Emanuel Graf <emanuel> | ||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | cdtdoug, eclipse.sprigogin, malaperle | ||||
| Version: | 8.0.1 | Flags: | eclipse.sprigogin:
review+
|
||||
| Target Milestone: | 8.0.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Shayan
Created attachment 206804 [details]
Remove explicit from definition, patch and test
Sergey, would you mind reviewing this small patch? It removes explicit from definitions. I also checked in c++11 to make sure it's OK; explicit can also be used with conversion operators but I believe it should not be used in definitions either. The patch looks good to me. (In reply to comment #3) > The patch looks good to me. Thanks you. Fixed in 8.0.2 and master > 20111111. *** cdt git genie on behalf of Marc-Andre Laperle ***
Bug 363111 - Automatically generated explicit constructor has the
explicit keyword in constructor definition
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8a1269053a67c2bb97244dfdcf9c94b047fb2823
*** cdt git genie on behalf of Marc-Andre Laperle ***
Bug 363111 - Automatically generated explicit constructor has the
explicit keyword in constructor definition
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=e9a0073b4a2287f907ca32ab5ce6f73e501fd8a6
|