diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-04-22 10:34:16 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-22 10:34:16 (GMT) |
commit | 33ee4f15913e7e259a016231d76001e9406c2220 (patch) | |
tree | 53f6fa3580322e28b12fee947496d7c4220499ba | |
parent | 5e89f6fe59216586ee06a3e544b195ac4038bb06 (diff) | |
download | swift-contrib-33ee4f15913e7e259a016231d76001e9406c2220.zip swift-contrib-33ee4f15913e7e259a016231d76001e9406c2220.tar.bz2 |
Use boost::filesystem instead of boost::filesystem2.
-rw-r--r-- | Swift/Controllers/FileTransfer/FileTransferOverview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/FileTransfer/FileTransferOverview.cpp b/Swift/Controllers/FileTransfer/FileTransferOverview.cpp index e45c7f2..2a8c319 100644 --- a/Swift/Controllers/FileTransfer/FileTransferOverview.cpp +++ b/Swift/Controllers/FileTransfer/FileTransferOverview.cpp @@ -23,7 +23,7 @@ FileTransferOverview::~FileTransferOverview() { } void FileTransferOverview::sendFile(const JID& jid, const std::string& filename) { - if (boost::filesystem2::exists(filename) && boost::filesystem2::file_size(filename) > 0) { + if (boost::filesystem::exists(filename) && boost::filesystem::file_size(filename) > 0) { FileTransferController* controller = new FileTransferController(jid, filename, fileTransferManager); fileTransfers.push_back(controller); |