summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-02-28 19:18:05 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-02-28 19:18:05 (GMT)
commit49316cf512eb3d5a10576e363631b5090ab5e1a8 (patch)
tree8c604a37e3cd1609cad0134adf6ca026e293cd3b /Swift
parentbca7e9a19e35ca4d64b66a7b6785197d91c5bffa (diff)
downloadswift-49316cf512eb3d5a10576e363631b5090ab5e1a8.zip
swift-49316cf512eb3d5a10576e363631b5090ab5e1a8.tar.bz2
Remove compiler warning.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/UnitTest/MockChatWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/UnitTest/MockChatWindow.h b/Swift/Controllers/UnitTest/MockChatWindow.h
index cc54763..ce012c6 100644
--- a/Swift/Controllers/UnitTest/MockChatWindow.h
+++ b/Swift/Controllers/UnitTest/MockChatWindow.h
@@ -50,7 +50,7 @@ namespace Swift {
void setAvailableOccupantActions(const std::vector<OccupantAction>&/* actions*/) {}
void setSubject(const std::string& /*subject*/) {}
virtual void showRoomConfigurationForm(Form::ref) {}
- virtual void addMUCInvitation(const JID& /*jid*/, const std::string& /*reason*/, const std::string& /*password*/, bool direct = true) {};
+ virtual void addMUCInvitation(const JID& /*jid*/, const std::string& /*reason*/, const std::string& /*password*/, bool = true) {};
virtual void setAffiliations(MUCOccupant::Affiliation, const std::vector<JID>&) {}
std::string name_;