diff options
author | David Robillard <d@drobilla.net> | 2014-01-24 17:28:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-24 17:28:43 +0000 |
commit | a659a13c531e991851e013db3d4223bf16a343b8 (patch) | |
tree | 583112a95bc6abeb39dd514c987ff1c82b3d2e9e /ingen/types.hpp | |
parent | 28ab52045a429eb190ea1a23cef92d81c36748f5 (diff) | |
download | ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.gz ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.bz2 ingen-a659a13c531e991851e013db3d4223bf16a343b8.zip |
Fix various whitespace and formatting issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/types.hpp')
-rw-r--r-- | ingen/types.hpp | 7 |
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 - |