Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.core
Commits
724c1281
Commit
724c1281
authored
May 26, 2016
by
Manuel Günther
Browse files
Not redefining BOOST macro when boost is included before bob.core/random.h
parent
8b693289
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/core/include/bob.core/boost/integer_log2.hpp
View file @
724c1281
...
...
@@ -23,6 +23,7 @@ namespace core {
namespace
random
{
namespace
detail
{
#ifndef BOOST_RANDOM_DETAIL_CONSTEXPR
#if !defined(BOOST_NO_CXX11_CONSTEXPR)
#define BOOST_RANDOM_DETAIL_CONSTEXPR constexpr
#elif defined(BOOST_MSVC)
...
...
@@ -32,6 +33,7 @@ namespace detail {
#else
#define BOOST_RANDOM_DETAIL_CONSTEXPR inline
#endif
#endif
template
<
int
Shift
>
struct
integer_log2_impl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment