qtumproject / cpp-eth-qtum

GNU General Public License v3.0
9 stars 48 forks source link

Fix for build with boost 1.75 #45

Closed timemarkovqtum closed 3 years ago

timemarkovqtum commented 3 years ago

The new implementation of boost::copy_exception in boost 1.75 is not able to copy exception that is described by the base abstract class, can copy only exception from non abstract class. The old implementation work with both cases, the code used in the fix is from the following link: https://www.boost.org/doc/libs/1_57_0/libs/exception/doc/copy_exception.html