Avoid a clash of exported symbols, put them into anonymous namespaces.
This commit is contained in:
@@ -43,6 +43,8 @@ using namespace libtorrent;
|
||||
namespace lt = libtorrent;
|
||||
using boost::tuples::ignore;
|
||||
|
||||
namespace {
|
||||
|
||||
template <class T>
|
||||
boost::shared_ptr<T> clone_ptr(boost::shared_ptr<T> const& ptr)
|
||||
{
|
||||
@@ -59,6 +61,8 @@ bool on_alert(alert const* a)
|
||||
return false;
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
void test_remap_files_gather(storage_mode_t storage_mode = storage_mode_sparse)
|
||||
{
|
||||
// in case the previous run was terminated
|
||||
|
Reference in New Issue
Block a user