Skip to content
Snippets Groups Projects
Commit 78c5372e authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[crtp] update use of deprecation macro

parent 98df4678
No related branches found
No related tags found
No related merge requests found
......@@ -74,13 +74,13 @@ public:
using Traits = TraitsImp;
using derived_type = typename Traits::derived_type;
static inline derived_type& DXT_DEPRECATED_MSG("Use that.as_imp() instead (10.04.2018)!") as_imp(InterfaceType& that)
DXT_DEPRECATED_MSG("Use that.as_imp() instead (10.04.2018)!") static inline derived_type& as_imp(InterfaceType& that)
{
return static_cast<derived_type&>(that);
}
static inline const derived_type& DXT_DEPRECATED_MSG("Use that.as_imp() instead (10.04.2018)!")
as_imp(const InterfaceType& that)
DXT_DEPRECATED_MSG("Use that.as_imp() instead (10.04.2018)!")
static inline const derived_type& as_imp(const InterfaceType& that)
{
return static_cast<const derived_type&>(that);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment