From f8705e8bdeb66c966ba23e9705ca696ca427c80b Mon Sep 17 00:00:00 2001 From: svost Date: Thu, 18 Feb 2016 22:45:37 +0300 Subject: [PATCH 1/1] Removed dependency (boost::algorithm::starts_with) --- src/irc.cpp | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/irc.cpp b/src/irc.cpp index 57e7d88..03bc607 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -7,10 +7,7 @@ #include "base58.h" #include "net.h" -#include // for startswith() and endswith() - using namespace std; -using namespace boost; int nGotIRCAddresses = 0; @@ -347,7 +344,7 @@ void ThreadIRCSeed2(void* parg) printf("IRC got join\n"); } - if (boost::algorithm::starts_with(strName, "u")) + if (strName.compare(0,1, "u") == 0) { CAddress addr; if (DecodeAddress(strName, addr)) -- 1.7.1