Skip to content

Commit

Permalink
Fix wstring join_paths (openvinotoolkit#22271)
Browse files Browse the repository at this point in the history
* Fix wstring join_paths

* Fix codestyle
  • Loading branch information
vishniakov-nikolai authored Jan 19, 2024
1 parent 0ab9694 commit 6e67749
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common/util/src/file_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ std::wstring join_paths(const std::wstring& s1, const std::wstring& s2) {
} else if (s1.size() > 0) {
rc = s1;
if (rc[rc.size() - 1] != '/') {
# ifndef _WIN32
rc += '/';
# else
rc += '\\';
# endif
}
rc += s2;
} else {
Expand Down

0 comments on commit 6e67749

Please sign in to comment.