diff --git a/view.hpp b/view.hpp index 1b719778..d5eab527 100644 --- a/view.hpp +++ b/view.hpp @@ -275,7 +275,7 @@ namespace cruft { ///-------------------------------------------------------------------- /// Returns true if the view is not empty; ie, there is data remaining. - constexpr operator bool () const noexcept + explicit constexpr operator bool () const noexcept { return not empty (); }