pkgsrc-wip/libtorrent-rasterbar/patches/patch-src_file__storage.cpp
Ryo ONODERA d8aca83493 * Switch to 0.14.12.
* Fix build.
2011-05-11 09:18:46 +00:00

18 lines
513 B
C++

$NetBSD: patch-src_file__storage.cpp,v 1.1 2011/05/11 09:18:46 ryo-on Exp $
* Support Boost 1.46.1
--- src/file_storage.cpp.orig 2008-10-05 01:41:56.000000000 +0000
+++ src/file_storage.cpp
@@ -147,9 +147,9 @@ namespace libtorrent
else
{
if (m_files.empty())
- m_name = *file.begin();
+ m_name = file.begin()->string();
}
- TORRENT_ASSERT(m_name == *file.begin());
+ TORRENT_ASSERT(m_name == file.begin()->string());
file_entry e;
m_files.push_back(e);
m_files.back().size = size;