Skip to content

Commit

Permalink
Removed incorrect constexpr qualifications from constructors with non…
Browse files Browse the repository at this point in the history
…-empty bodies.
  • Loading branch information
Lastique committed Mar 15, 2014
1 parent bf1898e commit b277b46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/boost/atomic/detail/gcc-sparcv9.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ class base_atomic<T, void, 1, Sign>

public:
BOOST_DEFAULTED_FUNCTION(base_atomic(void), {})
BOOST_CONSTEXPR explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)
explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)
{
memcpy(&v_, &v, sizeof(value_type));
}
Expand Down Expand Up @@ -1143,7 +1143,7 @@ class base_atomic<T, void, 2, Sign>

public:
BOOST_DEFAULTED_FUNCTION(base_atomic(void), {})
BOOST_CONSTEXPR explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)
explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)
{
memcpy(&v_, &v, sizeof(value_type));
}
Expand Down Expand Up @@ -1240,7 +1240,7 @@ class base_atomic<T, void, 4, Sign>

public:
BOOST_DEFAULTED_FUNCTION(base_atomic(void), {})
BOOST_CONSTEXPR explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)
explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0)
{
memcpy(&v_, &v, sizeof(value_type));
}
Expand Down

0 comments on commit b277b46

Please sign in to comment.