diff options
Diffstat (limited to 'boost/filesystem/path_traits.hpp')
-rw-r--r-- | boost/filesystem/path_traits.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/filesystem/path_traits.hpp b/boost/filesystem/path_traits.hpp index 5441692b7..129044a46 100644 --- a/boost/filesystem/path_traits.hpp +++ b/boost/filesystem/path_traits.hpp @@ -318,8 +318,8 @@ namespace path_traits { { if (c.size()) { - std::basic_string<typename Container::value_type> s(c.begin(), c.end()); - convert(s.c_str(), s.c_str()+s.size(), to); + std::basic_string<typename Container::value_type> seq(c.begin(), c.end()); + convert(seq.c_str(), seq.c_str()+seq.size(), to); } } |