diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-03-14 11:35:41 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-06-26 23:31:15 +0200 |
commit | f78fb67f4b6a5673e497ba1aeb19568581173909 (patch) | |
tree | e4c25d36164ad232c04f4ab92256db593574c4da /test/interactive-helper | |
parent | e1d727654c49567f134ea74acee7ec57e7940069 (diff) |
Refactor to avoid loop/dangling gcc warnings
Gbp-Dch: Ignore
Diffstat (limited to 'test/interactive-helper')
-rw-r--r-- | test/interactive-helper/aptwebserver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc index 4b98cbd7c..22fc4121b 100644 --- a/test/interactive-helper/aptwebserver.cc +++ b/test/interactive-helper/aptwebserver.cc @@ -127,7 +127,7 @@ static bool sendHead(std::ostream &log, int const client, int const httpcode, st std::stringstream buffer; auto const empties = _config->FindVector("aptwebserver::empty-response-header"); - for (auto && e: empties) + for (auto const &e: empties) buffer << e << ":" << std::endl; _config->Dump(buffer, "aptwebserver::response-header", "%t: %v%n", false); std::vector<std::string> addheaders = VectorizeString(buffer.str(), '\n'); |