Commit 3ea67092 authored by Martin Heistermann's avatar Martin Heistermann

request_property_impl: Add missing specialisation for Entity::Vertex

parent 590f6066
Pipeline #10302 passed with stage
in 3 minutes and 52 seconds
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment