chunks: fix build with clang-5.0
Change-Id: Ic856ba6cf0437d935a65f1fd258b1bad16810701
diff --git a/tools/chunks/catchunks/consumer.cpp b/tools/chunks/catchunks/consumer.cpp
index 431f058..6132d82 100644
--- a/tools/chunks/catchunks/consumer.cpp
+++ b/tools/chunks/catchunks/consumer.cpp
@@ -1,5 +1,5 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
+/*
* Copyright (c) 2016-2017, Regents of the University of California,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University.
@@ -82,7 +82,7 @@
m_bufferedData[getSegmentFromPacket(data)] = dataPtr;
writeInOrderData();
},
- [this] (const Data& data, const security::v2::ValidationError& error) {
+ [] (const Data& data, const security::v2::ValidationError& error) {
BOOST_THROW_EXCEPTION(DataValidationError(error));
});
}