0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-01 19:22:53 +01:00

ircd: Fix proper default constexpr ctor.

This commit is contained in:
Jason Volk 2018-03-06 03:51:51 -08:00
parent 2ef5f4c72c
commit 7021250cc3

View file

@ -180,7 +180,7 @@ struct ircd::string_view
/// Our default constructor sets the elements to 0 for best behavior by /// Our default constructor sets the elements to 0 for best behavior by
/// defined() and null() et al. /// defined() and null() et al.
constexpr string_view() constexpr string_view()
:std::string_view{nullptr, 0} :std::string_view{}
{} {}
using std::string_view::string_view; using std::string_view::string_view;