Skip to content

Commit

Permalink
Fix condition for LUABIND_USE_NOEXPECT (#7, #11, #15).
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 committed Aug 17, 2013
1 parent 1581aa1 commit fa25bd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion luabind/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ namespace std

// If you use Boost <= 1.46 but your compiler is C++11 compliant and marks
// destructors as noexcept by default, you need to define LUABIND_USE_NOEXCEPT.
#if !defined(BOOST_NO_NOEXCEPT) && !defined(BOOST_NO_CXX11_NOEXCEPT)
#if ( !defined(BOOST_NO_NOEXCEPT) \
&& !defined(BOOST_NO_CXX11_NOEXCEPT) \
&& BOOST_VERSION >= 104700)
# define LUABIND_USE_NOEXCEPT
#endif
#ifndef LUABIND_MAY_THROW
Expand Down

0 comments on commit fa25bd2

Please sign in to comment.