summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-04-22 10:34:16 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-22 10:34:16 (GMT)
commit33ee4f15913e7e259a016231d76001e9406c2220 (patch)
tree53f6fa3580322e28b12fee947496d7c4220499ba
parent5e89f6fe59216586ee06a3e544b195ac4038bb06 (diff)
downloadswift-33ee4f15913e7e259a016231d76001e9406c2220.zip
swift-33ee4f15913e7e259a016231d76001e9406c2220.tar.bz2
Use boost::filesystem instead of boost::filesystem2.
-rw-r--r--Swift/Controllers/FileTransfer/FileTransferOverview.cpp2
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);