Ref #1506: Isolate chain/protocol to its own library
This commit is contained in:
parent
f076bb2586
commit
9c71579d6e
2 changed files with 2 additions and 1 deletions
|
|
@ -659,7 +659,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename ID>
|
template<typename ID>
|
||||||
typename graphene::db::object_downcast_t<ID>get_object(ID id)const
|
graphene::db::object_downcast_t<ID> get_object(ID id)const
|
||||||
{
|
{
|
||||||
auto ob = _remote_db->get_objects({id}).front();
|
auto ob = _remote_db->get_objects({id}).front();
|
||||||
return ob.template as<graphene::db::object_downcast_t<ID>>( GRAPHENE_MAX_NESTED_OBJECTS );
|
return ob.template as<graphene::db::object_downcast_t<ID>>( GRAPHENE_MAX_NESTED_OBJECTS );
|
||||||
|
|
|
||||||
|
|
@ -23,3 +23,4 @@
|
||||||
*/
|
*/
|
||||||
#define BOOST_TEST_MODULE "C++ Benchmarks for Graphene Blockchain Database"
|
#define BOOST_TEST_MODULE "C++ Benchmarks for Graphene Blockchain Database"
|
||||||
#include <boost/test/included/unit_test.hpp>
|
#include <boost/test/included/unit_test.hpp>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue