[REDMINE1D-159] [RM-7008] [refactor] CLineModelElementList m_Elements Created: 13/Jun/23 Updated: 24/Aug/23 |
|
| Status: | Open |
| Project: | 1D Redmine |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | Redmine-Jira Migtation | Assignee: | Redmine-Jira Migtation |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Created on 2022-01-24 15:07:58 by Didier Vibert. % Done: 0 m_Elements is a vector of shared_ptr to CLineModelElement the pointer is useless here, it could simply be a vector of CLineModelElement. The getter (operator[]) can just return the CLineModelElement by ref (may need a cons getter as well). |
| Comments |
| Comment by Redmine-Jira Migtation [ 24/Aug/23 ] |
|
Comment by Didier Vibert on 2022-09-01 15:20:33: (and suppress the operator[] and maybe other redefined methods) |