diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-10-28 09:24:25 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-02-08 11:32:33 +0100 |
commit | 27a964cb66f3a78ca27cc5a5befbdd3f405ccee4 (patch) | |
tree | bf963e0437cbaf43ad79d77768067e1452f8e960 /include/astra/Globals.h | |
parent | 03c3e5b5043cc8cba9aceeb8641d497edd1be7cf (diff) | |
download | astra-27a964cb66f3a78ca27cc5a5befbdd3f405ccee4.tar.gz astra-27a964cb66f3a78ca27cc5a5befbdd3f405ccee4.tar.bz2 astra-27a964cb66f3a78ca27cc5a5befbdd3f405ccee4.tar.xz astra-27a964cb66f3a78ca27cc5a5befbdd3f405ccee4.zip |
Remove unused function
Diffstat (limited to 'include/astra/Globals.h')
-rw-r--r-- | include/astra/Globals.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/astra/Globals.h b/include/astra/Globals.h index dec978d..44a77b0 100644 --- a/include/astra/Globals.h +++ b/include/astra/Globals.h @@ -53,8 +53,6 @@ along with the ASTRA Toolbox. If not, see <http://www.gnu.org/licenses/>. #include <iostream> #include <fstream> #include <math.h> -#include <boost/static_assert.hpp> -#include <boost/throw_exception.hpp> //---------------------------------------------------------------------------------------- // macro's @@ -227,16 +225,6 @@ namespace astra { int m_iSliceIndex; }; } -//---------------------------------------------------------------------------------------- -// some toys - -// safe reinterpret cast -template <class To, class From> -To safe_reinterpret_cast(From from) -{ - BOOST_STATIC_ASSERT(sizeof(From) <= sizeof(To)); - return reinterpret_cast<To>(from); -} //---------------------------------------------------------------------------------------- // functions for testing |