fix build

This commit is contained in:
Arvid Norberg 2008-07-01 22:44:17 +00:00
parent d6743037b3
commit 0ec6753028
1 changed files with 2 additions and 2 deletions

View File

@ -755,8 +755,8 @@ namespace libtorrent
m_pool.release(this); m_pool.release(this);
#if defined(_WIN32) && defined(UNICODE) && BOOST_VERSION >= 103400 #if defined(_WIN32) && defined(UNICODE) && BOOST_VERSION >= 103400
fs::wpath old_path = safe_convert(old_name); fs::wpath old_path = safe_convert(old_name.string());
fs::wpath new_path = safe_convert(m_save_path / new_filename); fs::wpath new_path = safe_convert((m_save_path / new_filename).string());
#else #else
fs::path const& old_path = old_name; fs::path const& old_path = old_name;
fs::path new_path = m_save_path / new_filename; fs::path new_path = m_save_path / new_filename;