@@ -369,21 +369,19 @@ template <stdx::ct_string Name, typename... Fields> struct message {
369
369
using span_t = Span;
370
370
371
371
template <detail::storage_like S>
372
- // NOLINTNEXTLINE(google-explicit-constructor)
373
- view_t (S const &s) : storage{s} {}
372
+ explicit (false ) view_t (S const &s) : storage{s} {}
374
373
375
374
template <detail::storage_like S, some_field_value... Vs>
376
375
constexpr explicit view_t (S &s, Vs... vs) : storage{s} {
377
376
this ->set (vs...);
378
377
}
379
378
380
379
template <typename S>
381
- // NOLINTNEXTLINE(google-explicit-constructor)
382
- constexpr view_t (owner_t <S> const &s LIFETIMEBOUND)
380
+ constexpr explicit (false ) view_t(owner_t <S> const &s LIFETIMEBOUND)
383
381
: storage{s.data ()} {}
384
382
385
383
template <typename S, some_field_value... Vs>
386
- explicit constexpr view_t (owner_t <S> &s LIFETIMEBOUND, Vs... vs)
384
+ explicit ( true ) constexpr view_t (owner_t <S> &s LIFETIMEBOUND, Vs... vs)
387
385
: storage{s.data ()} {
388
386
this ->set (vs...);
389
387
}
@@ -393,8 +391,8 @@ template <stdx::ct_string Name, typename... Fields> struct message {
393
391
std::same_as<std::add_const_t <typename S::element_type>,
394
392
typename span_t ::element_type> and
395
393
span_t ::extent <= S::extent)
396
- // NOLINTNEXTLINE(google- explicit-constructor )
397
- constexpr view_t ( view_t <S> const &s) : storage{s.data ()} {}
394
+ constexpr explicit ( false ) view_t( view_t <S> const &s )
395
+ : storage{s.data ()} {}
398
396
399
397
[[nodiscard]] constexpr auto data () const { return storage; }
400
398
0 commit comments