diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-09 02:06:44 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-09 02:06:44 (GMT) |
commit | 19ea0f0427a40068a2ee31127c5103a5cc55f5b9 (patch) | |
tree | f2bf05a5aef2d3a141d90ae576aa1507b5290ffe /src/handle_dep.cc | |
parent | ad338d3e46eac0d0277a7000c48972d47f6c0091 (diff) |
Don't use native() to extract strings from boost::filesystem::path() since that will use wchar under Windows
Diffstat (limited to 'src/handle_dep.cc')
-rw-r--r-- | src/handle_dep.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handle_dep.cc b/src/handle_dep.cc index da95a67..d642555 100644 --- a/src/handle_dep.cc +++ b/src/handle_dep.cc @@ -18,7 +18,7 @@ void handle_dep(const std::string &filename) dependencies.insert(filename); } else { - dependencies.insert((current_path() / filepath).native()); + dependencies.insert((current_path() / filepath).string()); } if (!exists(filepath) && make_command) { std::stringstream buf; |