Skip to content

Commit

Permalink
Remove workaround affecting old Boost version
Browse files Browse the repository at this point in the history
  • Loading branch information
rex4539 committed Dec 18, 2020
1 parent 844ef48 commit c2c69a1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,6 @@
#include <boost/program_options/parsers.hpp>
#include <boost/thread.hpp>

// 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";
Expand Down

0 comments on commit c2c69a1

Please sign in to comment.