}
template <>
-inline string_view MDBOutVal::get<string_view>() const
+inline std::string_view MDBOutVal::get<std::string_view>() const
{
return {static_cast<char*>(d_mdbval.mv_data), d_mdbval.mv_size};
}
}
template <>
-inline string_view MDBOutVal::get<string_view>() const
+inline std::string_view MDBOutVal::get<std::string_view>() const
{
size_t offset = LMDBLS::LScheckHeaderAndGetSize(this);
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
}
template <>
-inline string_view MDBOutVal::getNoStripHeader<string_view>() const
+inline std::string_view MDBOutVal::getNoStripHeader<std::string_view>() const
{
return {static_cast<char*>(d_mdbval.mv_data), d_mdbval.mv_size};
}
// We support readonly and rw transactions. Here we put the Readonly operations
// which get sourced by both kinds of transactions
- template<class Parent>
+ template <class Parent>
struct ReadonlyOperations
{
- ReadonlyOperations(Parent& parent) : d_parent(parent)
+ ReadonlyOperations(Parent& parent) :
+ d_parent(parent)
{}
// //! Number of entries in main database