Archived issue #0030644
Coding - inline trivial methods of V3d_View class
Description
There method in V3d_View can be inlined by simpley returning their reference.
class V3d_View
{
Standard_EXPORT Handle(V3d_Viewer) Viewer() const;
Standard_EXPORT Handle(Aspect_Window) Window() const;
Standard_EXPORT Handle(Graphic3d_CView) View() const;
}
class V3d_View
{
Standard_EXPORT Handle(V3d_Viewer) Viewer() const;
Standard_EXPORT Handle(Aspect_Window) Window() const;
Standard_EXPORT Handle(Graphic3d_CView) View() const;
}
Public activity
6 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Commenter 3.
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Wed Apr 17 14:58:35 2019 +0300
0030644: Coding - inline trivial methods of V3d_View class
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Wed Apr 17 14:58:35 2019 +0300
0030644: Coding - inline trivial methods of V3d_View class
Branch [archived branch] has been updated forcibly by Commenter 3.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Commenter 3.
[revision removed]
[revision removed]
> There method in V3d_View can be inlined by simpley returning their reference.
> Handle(V3d_Viewer) V3d_View::Viewer()
V3d_View holds a back-reference to V3d_Viewer (raw pointer), not handle, hence cannot be modified to return a const reference.
> Handle(V3d_Viewer) V3d_View::Viewer()
V3d_View holds a back-reference to V3d_Viewer (raw pointer), not handle, hence cannot be modified to return a const reference.
Please raise the patch.
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]