mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Bugfix.
This commit is contained in:
@@ -213,9 +213,8 @@ boost::shared_ptr<c_Data> TaggedCache<c_Key, c_Data>::fetch(const key_type& key)
|
||||
template<typename c_Key, typename c_Data>
|
||||
bool TaggedCache<c_Key, c_Data>::store(const key_type& key, const c_Data& data)
|
||||
{
|
||||
if (!canonicalize(key, boost::shared_ptr<c_Data>(data)))
|
||||
return false;
|
||||
return true;
|
||||
boost::shared_ptr<c_Data> d = boost::make_shared<c_Data>(boost::ref(data));
|
||||
return canonicalize(key, d);
|
||||
}
|
||||
|
||||
template<typename c_Key, typename c_Data>
|
||||
|
||||
Reference in New Issue
Block a user