summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp')
-rw-r--r--Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp b/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp
index 6339ad9..e052aff 100644
--- a/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp
+++ b/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp
@@ -112,7 +112,7 @@ TEST_F(ChattablesTest, testSetState) {
JID returnedJID;
int returnedIndex;
int callsToChanged = 0;
- chattables_.onChanged.connect([this, &returnedJID, &returnedIndex, &callsToChanged](const JID& jid, int index){
+ chattables_.onChanged.connect([&returnedJID, &returnedIndex, &callsToChanged](const JID& jid, int index){
returnedJID = jid;
returnedIndex = index;
callsToChanged++;