Project

General

Profile

Actions

Bug #4547

closed

Build fails with clang-5.0

Added by Davide Pesavento over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

https://travis-ci.org/named-data/NLSR/jobs/352498816

../src/nlsr.cpp:168:19: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
    uri.canonize([this, then, currentNeighbor] (ndn::FaceUri canonicalUri) {
                  ^
../src/nlsr.cpp:174:8: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
      [this, then, currentNeighbor] (const std::string& reason) {
       ^
2 errors generated.
Actions

Also available in: Atom PDF