Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
047ad081
Commit
047ad081
authored
Feb 20, 2019
by
Martin Heistermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PropertyPtr: clarify public interface by only exposing the necessary shared_ptr methods (cf
#10
)
parent
56777c36
Pipeline
#8716
passed with stage
in 7 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/OpenVolumeMesh/Core/PropertyPtr.hh
src/OpenVolumeMesh/Core/PropertyPtr.hh
+5
-1
No files found.
src/OpenVolumeMesh/Core/PropertyPtr.hh
View file @
047ad081
...
...
@@ -63,7 +63,7 @@ class ResourceManager;
*/
template
<
class
PropT
,
class
HandleT
>
class
PropertyPtr
:
p
ublic
ptr
::
shared_ptr
<
PropT
>
,
public
BaseProperty
{
class
PropertyPtr
:
p
rotected
ptr
::
shared_ptr
<
PropT
>
,
public
BaseProperty
{
public:
friend
class
ResourceManager
;
...
...
@@ -82,6 +82,10 @@ public:
/// Destructor
virtual
~
PropertyPtr
();
using
ptr
::
shared_ptr
<
PropT
>::
operator
*
;
using
ptr
::
shared_ptr
<
PropT
>::
operator
->
;
using
ptr
::
shared_ptr
<
PropT
>::
operator
bool
;
virtual
const
std
::
string
&
name
()
const
;
virtual
void
delete_element
(
size_t
_idx
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment