From c2c69a12e4267ca56de6c1fae0a86685a14d3a91 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Sat, 19 Dec 2020 00:30:02 +0200 Subject: [PATCH] Remove workaround affecting old Boost version --- src/util.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/util.cpp b/src/util.cpp index 818b1a525..1342c00f5 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -82,18 +82,6 @@ #include #include -// Work around clang compilation problem in Boost 1.46: -// /usr/include/boost/program_options/detail/config_file.hpp:163:17: error: call to function 'to_internal' that is neither visible in the template definition nor found by argument-dependent lookup -// See also: https://stackoverflow.com/questions/10020179/compilation-fail-in-boost-librairies-program-options -// https://clang.debian.net/status.php?version=3.0&key=CANNOT_FIND_FUNCTION -namespace boost { - - namespace program_options { - std::string to_internal(const std::string&); - } - -} // namespace boost - using namespace std; const char * const BITCOIN_CONF_FILENAME = "zcash.conf";