mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-02-19 11:48:51 +00:00
In boost 1.74.0, boost::filesystem adapted path::copy_option enum to be the same as the enum in the fs::path from c++17, which is now called copy_options, and its member "overwrite_if_exists" is now called "overwrite_existing". In boost 1.85, the deprecated copy_option enum is fully removed. Because Dogecoin Core currently supports boost 1.60 and up, conditionally implement the new enum based on the boost version that is built against.