Skip to content

Commit f117a2b

Browse files
committed
es objs
1 parent 49523a8 commit f117a2b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

libraries/plugins/es_objects/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if(MSVC)
1515
set_source_files_properties(es_objects.cpp PROPERTIES COMPILE_FLAGS "/bigobj" )
1616
endif(MSVC)
1717

18-
target_link_libraries( graphene_es_objects graphene_chain graphene_app ${CURL_LIBRARIES} )
18+
target_link_libraries( graphene_es_objects graphene_chain graphene_app graphene_voting_stat ${CURL_LIBRARIES} )
1919
target_include_directories( graphene_es_objects
2020
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
2121

libraries/plugins/es_objects/es_objects.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@
3030
#include <graphene/chain/market_object.hpp>
3131
#include <graphene/chain/asset_object.hpp>
3232
#include <graphene/chain/account_object.hpp>
33-
#include <graphene/chain/voting_statistics_object.hpp>
34-
#include <graphene/chain/voteable_statistics_object.hpp>
33+
#include <graphene/voting_stat/voting_statistics_object.hpp>
34+
#include <graphene/voting_stat/voteable_statistics_object.hpp>
3535

3636
#include <graphene/utilities/elasticsearch.hpp>
3737

3838
namespace graphene { namespace es_objects {
3939

40+
using voting_stat::voting_statistics_object;
41+
using voting_stat::voteable_statistics_object;
42+
4043
namespace detail
4144
{
4245

0 commit comments

Comments
 (0)