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 authored and rpavlik committed Aug 19, 2013
1 parent c7ef93b commit 9a5e68b
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 @@ -127,7 +127,9 @@

// 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 9a5e68b

Please sign in to comment.