1
0
Fork 0
forked from lthn/blockchain

basic_db_accessor::get_t_object() made safe to be called before open() or reset_backend()

This commit is contained in:
sowle 2024-02-25 01:19:48 +01:00
parent 000811e2ab
commit 789ed4a2d0
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -280,6 +280,8 @@ namespace tools
template<class t_pod_key, class t_object>
bool get_t_object(container_handle h, const t_pod_key& k, t_object& obj) const
{
if (!m_is_open)
return false;
performance_data& m_performance_data = m_gperformance_data;
//TRY_ENTRY();
std::string res_buff;