forked from boostorg/smart_ptr
Remove uses of BOOST_CONSTEXPR
This commit is contained in:
1 parent
890b661909
commit
1c988756d5
9 files changed
+20
-22
No files matched your search
@@ -59,7 +59,7 @@ struct sp_align_up {
|
||||
};
|
||||
|
||||
template<class T>
|
||||
BOOST_CONSTEXPR inline std::size_t
|
||||
constexpr inline std::size_t
|
||||
sp_objects(std::size_t size) noexcept
|
||||
{
|
||||
return (size + sizeof(T) - 1) / sizeof(T);
|
||||
@@ -101,7 +101,7 @@ public:
|
||||
return allocator_;
|
||||
}
|
||||
|
||||
BOOST_CONSTEXPR std::size_t size() const noexcept {
|
||||
constexpr std::size_t size() const noexcept {
|
||||
return N;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user