Browse Source
Remove unneeded dependencies on boost::system
cl-refactor
Paweł Bylica
8 years ago
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
3 changed files with
0 additions and
9 deletions
-
libdevcore/Log.cpp
-
libdevcore/Log.h
-
libethcore/EthashAux.cpp
|
|
@ -27,7 +27,6 @@ |
|
|
|
#ifdef __APPLE__ |
|
|
|
#include <pthread.h> |
|
|
|
#endif |
|
|
|
#include <boost/asio/ip/tcp.hpp> |
|
|
|
#include "Guards.h" |
|
|
|
using namespace std; |
|
|
|
using namespace dev; |
|
|
@ -96,11 +95,6 @@ LogOutputStreamBase::LogOutputStreamBase(char const* _id, std::type_info const* |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void LogOutputStreamBase::append(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const& _t) |
|
|
|
{ |
|
|
|
m_sstr << EthNavyUnder "tcp://" << _t << EthReset; |
|
|
|
} |
|
|
|
|
|
|
|
/// Associate a name with each thread for nice logging.
|
|
|
|
struct ThreadLocalLogName |
|
|
|
{ |
|
|
|
|
|
@ -131,7 +131,6 @@ public: |
|
|
|
void append(std::string const& _t) { m_sstr << EthGreen "\"" + _t + "\"" EthReset; } |
|
|
|
void append(bytes const& _t) { m_sstr << EthYellow "%" << toHex(_t) << EthReset; } |
|
|
|
void append(bytesConstRef _t) { m_sstr << EthYellow "%" << toHex(_t) << EthReset; } |
|
|
|
void append(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const& _t); |
|
|
|
template <class T> void append(std::vector<T> const& _t) |
|
|
|
{ |
|
|
|
m_sstr << EthWhite "[" EthReset; |
|
|
|
|
|
@ -22,7 +22,6 @@ |
|
|
|
#include "EthashAux.h" |
|
|
|
|
|
|
|
#include <boost/detail/endian.hpp> |
|
|
|
#include <boost/filesystem.hpp> |
|
|
|
#include <chrono> |
|
|
|
#include <array> |
|
|
|
#include <thread> |
|
|
@ -38,7 +37,6 @@ using namespace std; |
|
|
|
using namespace chrono; |
|
|
|
using namespace dev; |
|
|
|
using namespace eth; |
|
|
|
using namespace boost::filesystem; |
|
|
|
|
|
|
|
const char* DAGChannel::name() { return EthGreen "DAG"; } |
|
|
|
|
|
|
|