diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:24:46 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:25:39 +0900 |
commit | 4fadd968fa12130524c8380f33fcfe25d4de79e5 (patch) | |
tree | fd26a490cd15388d42fc6652b3c5c13012e7f93e /boost/python/detail/translate_exception.hpp | |
parent | b5c87084afaef42b2d058f68091be31988a6a874 (diff) | |
download | boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.gz boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.bz2 boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.zip |
Imported Upstream version 1.65.0upstream/1.65.0
Change-Id: Icf8400b375482cb11bcf77440a6934ba360d6ba4
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/python/detail/translate_exception.hpp')
-rw-r--r-- | boost/python/detail/translate_exception.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/boost/python/detail/translate_exception.hpp b/boost/python/detail/translate_exception.hpp index df7ec2dd6c..877db2b2c6 100644 --- a/boost/python/detail/translate_exception.hpp +++ b/boost/python/detail/translate_exception.hpp @@ -6,11 +6,9 @@ # define TRANSLATE_EXCEPTION_TDS20091020_HPP # include <boost/python/detail/exception_handler.hpp> +# include <boost/python/detail/type_traits.hpp> # include <boost/call_traits.hpp> -# include <boost/type_traits/add_const.hpp> -# include <boost/type_traits/add_reference.hpp> -# include <boost/type_traits/remove_reference.hpp> # include <boost/function/function0.hpp> @@ -33,7 +31,7 @@ struct translate_exception typename add_const<ExceptionType>::type >::type exception_non_ref; # else - typedef typename add_reference< + typedef typename add_lvalue_reference< typename add_const<ExceptionType>::type >::type exception_cref; # endif |