Commit 9c3a676d authored by Martin Heistermann's avatar Martin Heistermann
Browse files

Remove useless and confusing default for the name param of get_property

parent b0e72f11
Pipeline #18944 failed with stage
in 11 minutes and 38 seconds
......@@ -196,12 +196,12 @@ public:
/** Get existing shared property. If the property does not exist, return no value.
*/
template<typename T, typename EntityTag>
std::optional<PropertyPtr<T, EntityTag>> get_property(const std::string& _name = std::string());
std::optional<PropertyPtr<T, EntityTag>> get_property(const std::string& _name);
/** Get a const view on an existing shared property. If the property does not exist, return no value.
*/
template<typename T, typename EntityTag>
std::optional<const PropertyPtr<T, EntityTag>> get_property(const std::string& _name = std::string()) const;
std::optional<const PropertyPtr<T, EntityTag>> get_property(const std::string& _name) const;
template <typename T, typename EntityTag>
bool property_exists(const std::string& _name) const
......
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