Browse Source

- Fix for compiling with mingw32 (By Attila Olah)

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
8326cebf5c
  1. 2
      src/createtorrent_imp.cpp

2
src/createtorrent_imp.cpp

@ -245,7 +245,7 @@ void torrentCreatorThread::run() { @@ -245,7 +245,7 @@ void torrentCreatorThread::run() {
}
if(abort) return;
// calculate the hash for all pieces
set_piece_hashes(t, full_path.branch_path(), boost::bind(&sendProgressUpdateSignal, _1, t.num_pieces(), parent));
set_piece_hashes(t, full_path.branch_path(), boost::bind<void>(&sendProgressUpdateSignal, _1, t.num_pieces(), parent));
// Set qBittorrent as creator and add user comment to
// torrent_info structure
t.set_creator(creator_str);

Loading…
Cancel
Save