Skip to content

Commit cb8c2b1

Browse files
ManifoldFRjorisv
authored andcommitted
[veg] remove whitespace in user-define literals ""_c and ""_v
This fixes the -Wdeprecated-literal-operator warning.
1 parent 7b81cb8 commit cb8c2b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/proxsuite/linalg/veg/internal/dyn_index.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ struct binary_traits<Dyn, Fix<N>> : binary_traits<Dyn, Dyn>
259259

260260
inline namespace literals {
261261
VEG_INLINE constexpr auto
262-
operator"" _v(unsigned long long n) VEG_NOEXCEPT->Dyn
262+
operator""_v(unsigned long long n) VEG_NOEXCEPT->Dyn
263263
{
264264
return isize(n);
265265
}

include/proxsuite/linalg/veg/internal/fix_index.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ namespace adl {
326326
inline namespace literals {
327327
template<char... Chars>
328328
VEG_INLINE constexpr auto
329-
operator"" _c() VEG_NOEXCEPT
329+
operator""_c() VEG_NOEXCEPT
330330
{
331331
return Fix<_detail::parse_int(
332332
_detail::char_seq<Chars...>::value, sizeof...(Chars), _detail::Error{})>{};

0 commit comments

Comments
 (0)