mirror of https://github.com/CGAL/cgal
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:
parent
519870c4cb
commit
160118e7e9
|
|
@ -61,7 +61,7 @@ struct Construct_array
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
constexpr
|
constexpr
|
||||||
std::array<T, 1 + sizeof...(Args)>
|
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...);
|
return make_array (t, args...);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue