fix: ambiguous call _check_convertible_to_path_source(const wxCStrData&) (#1597)

* fix: ambiguous call _check_convertible_to_path_source(const wxCStrData&)

* change to ToStdWstring() per discussion

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
ovlach 2023-07-30 03:46:50 +02:00 committed by GitHub
parent 2dfb4f1a68
commit a329497f49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -32,7 +32,7 @@ public:
m_container = is_container;
m_root = false;
path = abs_path;
fs::path path_obj(path.c_str());
boost::filesystem::path path_obj(path.ToStdWstring());
name = path_obj.filename().generic_wstring();
parent->Append(this);