diff --git a/libethereum/ClientBase.h b/libethereum/ClientBase.h index 2edb29c95..3f8e230c8 100644 --- a/libethereum/ClientBase.h +++ b/libethereum/ClientBase.h @@ -176,7 +176,7 @@ protected: // filters mutable Mutex x_filtersWatches; ///< Our lock. std::unordered_map m_filters; ///< The dictionary of filters that are active. - std::unordered_map m_specialFilters = {{PendingChangedFilter, {}}, {ChainChangedFilter, {}}}; + std::unordered_map m_specialFilters = std::unordered_map>{{PendingChangedFilter, {}}, {ChainChangedFilter, {}}}; ///< The dictionary of special filters and their additional data std::map m_watches; ///< Each and every watch - these reference a filter. }; diff --git a/libevm/ExtVMFace.h b/libevm/ExtVMFace.h index d0a57dbd3..357292853 100644 --- a/libevm/ExtVMFace.h +++ b/libevm/ExtVMFace.h @@ -67,15 +67,15 @@ struct LocalisedLogEntry: public LogEntry explicit LocalisedLogEntry( LogEntry const& _le, - h256 _special + h256 _special ): LogEntry(_le), special(_special) {}; explicit LocalisedLogEntry( LogEntry const& _le, BlockInfo const& _bi, - h256 _th, - unsigned _ti, - unsigned _li + h256 _th, + unsigned _ti, + unsigned _li ): LogEntry(_le), blockHash(_bi.hash()), blockNumber((BlockNumber)_bi.number), transactionHash(_th), transactionIndex(_ti), logIndex(_li), mined(true) {}; h256 blockHash = h256();