diff options
author | Ryan Volz <ryan.volz@gmail.com> | 2021-05-13 17:29:44 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-06-01 07:37:55 -0400 |
commit | 74463265ca7ac1f62948965d7be9ac450259bd24 (patch) | |
tree | 2f766a88931e969fa56b03a781da87fae3fe5bf0 | |
parent | 145602b1e1895e384c79dbb433e5674b41c4c212 (diff) |
runtime: Explicitly convert path to string to fix MSVC build.
Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
-rw-r--r-- | gnuradio-runtime/lib/prefs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/prefs.cc b/gnuradio-runtime/lib/prefs.cc index af6c35f0b9..a450644dd2 100644 --- a/gnuradio-runtime/lib/prefs.cc +++ b/gnuradio-runtime/lib/prefs.cc @@ -57,7 +57,7 @@ std::vector<std::string> prefs::_sys_prefs_filenames() if (fs::is_directory(dir)) { for (const auto& p : fs::directory_iterator(dir)) { if (p.path().extension() == ".conf") - fnames.push_back(p.path()); + fnames.push_back(p.path().string()); } std::sort(fnames.begin(), fnames.end()); } |