mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 18:15:50 +00:00
Convert throws and catch alls (RIPD-1046)
This commit is contained in:
committed by
Nik Bougalis
parent
0633ef1ba1
commit
880f354b90
@@ -18,6 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <BeastConfig.h>
|
||||
#include <ripple/basics/contract.h>
|
||||
#include <ripple/nodestore/Factory.h>
|
||||
#include <ripple/nodestore/Manager.h>
|
||||
#include <memory>
|
||||
@@ -62,7 +63,7 @@ public:
|
||||
std::vector<std::shared_ptr<NodeObject>>
|
||||
fetchBatch (std::size_t n, void const* const* keys) override
|
||||
{
|
||||
throw std::runtime_error("pure virtual called");
|
||||
Throw<std::runtime_error> ("pure virtual called");
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user