Fix a warning from MSVC 2015

include\CGAL/array.h(67): warning C4814:
     'CGAL::Construct_array::operator ()': in C++14 'constexpr' will
     not imply 'const'; consider explicitly specifying 'const'

It cannot harm.
This commit is contained in:
Laurent Rineau 2021-02-11 14:36:26 +01:00
parent 519870c4cb
commit 160118e7e9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ struct Construct_array
template <typename T, typename... Args>
constexpr
std::array<T, 1 + sizeof...(Args)>
operator()(const T& t, const Args& ... args)
operator()(const T& t, const Args& ... args) const
{
return make_array (t, args...);
}