Fixes
Remove boost::signals from build system; it's header-only so it's not listed in cmake anymore. Also remove some unused hashing code
This commit is contained in:
parent
13a76d25ac
commit
9ac63ce0b3
3 changed files with 3 additions and 24 deletions
|
|
@ -8,6 +8,7 @@ set( CLI_CLIENT_EXECUTABLE_NAME graphene_client )
|
|||
set( GUI_CLIENT_EXECUTABLE_NAME BitShares )
|
||||
set( CUSTOM_URL_SCHEME "gcs" )
|
||||
set( INSTALLER_APP_ID "68ad7005-8eee-49c9-95ce-9eed97e5b347" )
|
||||
set( CMAKE_CXX_VERSION 14 )
|
||||
|
||||
# http://stackoverflow.com/a/18369825
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
|
|
@ -46,7 +47,6 @@ LIST(APPEND BOOST_COMPONENTS thread
|
|||
system
|
||||
filesystem
|
||||
program_options
|
||||
signals
|
||||
serialization
|
||||
chrono
|
||||
unit_test_framework
|
||||
|
|
@ -113,11 +113,11 @@ else( WIN32 ) # Apple AND Linux
|
|||
if( APPLE )
|
||||
# Apple Specific Options Here
|
||||
message( STATUS "Configuring BitShares on OS X" )
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -std=c++11 -stdlib=libc++ -Wall" )
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -stdlib=libc++ -Wall" )
|
||||
else( APPLE )
|
||||
# Linux Specific Options Here
|
||||
message( STATUS "Configuring BitShares on Linux" )
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -std=c++11 -Wall" )
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall" )
|
||||
set( rt_library rt )
|
||||
#set( pthread_library pthread)
|
||||
set(CMAKE_LINKER_FLAGS "-pthread" CACHE STRING "Linker Flags" FORCE)
|
||||
|
|
|
|||
|
|
@ -78,19 +78,6 @@ namespace fc
|
|||
void from_variant( const fc::variant& var, graphene::chain::address& vo, uint32_t max_depth = 1 );
|
||||
}
|
||||
|
||||
namespace std
|
||||
{
|
||||
template<>
|
||||
struct hash<graphene::chain::address>
|
||||
{
|
||||
public:
|
||||
size_t operator()(const graphene::chain::address &a) const
|
||||
{
|
||||
return (uint64_t(a.addr._hash[0])<<32) | uint64_t( a.addr._hash[0] );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#include <fc/reflect/reflect.hpp>
|
||||
FC_REFLECT( graphene::chain::address, (addr) )
|
||||
|
||||
|
|
|
|||
|
|
@ -93,14 +93,6 @@ namespace graphene { namespace db {
|
|||
} FC_CAPTURE_AND_RETHROW()
|
||||
}
|
||||
|
||||
virtual fc::uint128 hash()const override {
|
||||
fc::uint128 result;
|
||||
for( const auto& ptr : _objects )
|
||||
result += ptr.hash();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
class const_iterator
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in a new issue