tests+tools: fix build with clang-5.0

Change-Id: I75eeb01b071c1702517a65a8099e52d4092a4638
Refs: #4278
diff --git a/tests/daemon/mgmt/face-manager-create-face.t.cpp b/tests/daemon/mgmt/face-manager-create-face.t.cpp
index 19a10c7..4431256 100644
--- a/tests/daemon/mgmt/face-manager-create-face.t.cpp
+++ b/tests/daemon/mgmt/face-manager-create-face.t.cpp
@@ -353,7 +353,7 @@
 
     bool hasCallbackFired = false;
     this->node1.face.onSendData.connect(
-      [this, req, &hasCallbackFired, foundFace] (const Data& response) {
+      [req, foundFace, &hasCallbackFired] (const Data& response) {
         if (!req.getName().isPrefixOf(response.getName())) {
           return;
         }