Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs::path conversions #1339

Merged
merged 1 commit into from
Mar 24, 2021
Merged

fs::path conversions #1339

merged 1 commit into from
Mar 24, 2021

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Mar 24, 2021

there are several places in the code that implicitly convert an
fs::path to an std::string. This breaks on platforms like Windows
where the paths are wstrings. Remove some of these implicit
conversions and make others explicit.

Signed-off-by: Rosen Penev rosenp@gmail.com

src/cds_objects.h Outdated Show resolved Hide resolved
src/config/config_manager.cc Outdated Show resolved Hide resolved
src/config/config_manager.cc Outdated Show resolved Hide resolved
src/config/config_manager.cc Show resolved Hide resolved
there are several places in the code that implicitly convert an
fs::path to an std::string. This breaks on platforms like Windows
where the paths are wstrings. Remove some of these implicit
conversions and make others explicit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants