diff options
author | Zackery Spytz <zspytz@gmail.com> | 2021-02-24 05:15:36 -0700 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-03-13 13:13:04 -0500 |
commit | 72c013a798cd3f4ace6f0fcf09f0c238cbfcabdb (patch) | |
tree | 626918947f83e908ebc9f75bd70753b4ec11a8b5 /gr-fec/lib/ldpc_encoder_impl.cc | |
parent | 8793effe5d6013c95b44f52551ba0d660157b263 (diff) |
Replace boost::filesystem with std::filesystem
Signed-off-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'gr-fec/lib/ldpc_encoder_impl.cc')
-rw-r--r-- | gr-fec/lib/ldpc_encoder_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-fec/lib/ldpc_encoder_impl.cc b/gr-fec/lib/ldpc_encoder_impl.cc index 5d8e1453af..45699dd6ed 100644 --- a/gr-fec/lib/ldpc_encoder_impl.cc +++ b/gr-fec/lib/ldpc_encoder_impl.cc @@ -14,6 +14,7 @@ #include <algorithm> // for std::reverse #include <cstdio> #include <cstring> // for memcpy +#include <filesystem> #include <sstream> namespace gr { @@ -26,7 +27,7 @@ generic_encoder::sptr ldpc_encoder::make(std::string alist_file) ldpc_encoder_impl::ldpc_encoder_impl(std::string alist_file) { - if (!boost::filesystem::exists(alist_file)) { + if (!std::filesystem::exists(alist_file)) { throw std::runtime_error("Bad AList file name!"); } |