summaryrefslogtreecommitdiffstats
path: root/ingen/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/types.hpp')
-rw-r--r--ingen/types.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ingen/types.hpp b/ingen/types.hpp
index 0f0fe718..71f044d9 100644
--- a/ingen/types.hpp
+++ b/ingen/types.hpp
@@ -35,17 +35,17 @@ using WPtr = std::weak_ptr<T>;
template <class T>
void NullDeleter(T* ptr) {}
-template<class T, class U>
+template<class T, class U>
SPtr<T> static_ptr_cast(const SPtr<U>& r) {
return std::static_pointer_cast<T>(r);
}
-template<class T, class U>
+template<class T, class U>
SPtr<T> dynamic_ptr_cast(const SPtr<U>& r) {
return std::dynamic_pointer_cast<T>(r);
}
-template<class T, class U>
+template<class T, class U>
SPtr<T> const_ptr_cast(const SPtr<U>& r) {
return std::const_pointer_cast<T>(r);
}
@@ -53,4 +53,3 @@ SPtr<T> const_ptr_cast(const SPtr<U>& r) {
} // namespace Ingen
#endif // INGEN_TYPES_HPP
-