|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78513 - trunk/boost/random/detail
From: steven_at_[hidden]
Date: 2012-05-19 09:49:00
Author: steven_watanabe
Date: 2012-05-19 09:49:00 EDT (Sat, 19 May 2012)
New Revision: 78513
URL: http://svn.boost.org/trac/boost/changeset/78513
Log:
Add missing inline. Fixes #6854.
Text files modified:
trunk/boost/random/detail/integer_log2.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/random/detail/integer_log2.hpp
==============================================================================
--- trunk/boost/random/detail/integer_log2.hpp (original)
+++ trunk/boost/random/detail/integer_log2.hpp 2012-05-19 09:49:00 EDT (Sat, 19 May 2012)
@@ -27,7 +27,7 @@
#elif defined(BOOST_MSVC)
#define BOOST_RANDOM_DETAIL_CONSTEXPR __forceinline
#elif defined(__GNUC__) && __GNUC__ >= 4
-#define BOOST_RANDOM_DETAIL_CONSTEXPR __attribute__((const)) __attribute__((always_inline))
+#define BOOST_RANDOM_DETAIL_CONSTEXPR inline __attribute__((const)) __attribute__((always_inline))
#else
#define BOOST_RANDOM_DETAIL_CONSTEXPR inline
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk