diff --git a/nano/store/db_val.hpp b/nano/store/db_val.hpp index b97136cea..fe7de26a7 100644 --- a/nano/store/db_val.hpp +++ b/nano/store/db_val.hpp @@ -38,7 +38,7 @@ public: } db_val (std::nullptr_t) noexcept : - span_view{} + span_view{ reinterpret_cast (""), 0 } // Use empty string literal to provide valid pointer for zero-size memcpy { }