Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
3ea67092
Commit
3ea67092
authored
May 13, 2019
by
Martin Heistermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
request_property_impl: Add missing specialisation for Entity::Vertex
parent
590f6066
Pipeline
#10302
passed with stage
in 3 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/OpenVolumeMesh/Core/ResourceManagerT_impl.hh
src/OpenVolumeMesh/Core/ResourceManagerT_impl.hh
+6
-0
No files found.
src/OpenVolumeMesh/Core/ResourceManagerT_impl.hh
View file @
3ea67092
...
...
@@ -124,6 +124,12 @@ struct request_property_impl {
static
PropertyTT
<
T
,
EntityTag
>
_
(
ResourceManager
*
/*resman*/
,
const
std
::
string
&
/*_name*/
,
const
T
/*_def*/
);
};
template
<
class
T
>
struct
request_property_impl
<
T
,
Entity
::
Vertex
>
{
static
PropertyTT
<
T
,
Entity
::
Vertex
>
_
(
ResourceManager
*
resman
,
const
std
::
string
&
_name
,
const
T
_def
)
{
return
resman
->
request_vertex_property
<
T
>
(
_name
,
_def
);
}
};
template
<
class
T
>
struct
request_property_impl
<
T
,
Entity
::
Edge
>
{
static
PropertyTT
<
T
,
Entity
::
Edge
>
_
(
ResourceManager
*
resman
,
const
std
::
string
&
_name
,
const
T
_def
)
{
...
...
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