From 6b79b5fc7450046fe7ec82dcc649e7f21b67825b Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Thu, 24 Jul 2014 12:17:18 -0400 Subject: [PATCH] Fix build warnings and .gitignore. * Comment out unused local function for both clang and g++. * Get rid of numerous Boost warnings for clang. * Remove some unused local variables. * Put TAGS into the .gitignore. --- beast/http/tests/client_session.test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beast/http/tests/client_session.test.cpp b/beast/http/tests/client_session.test.cpp index 85b11020c..3b45eef06 100644 --- a/beast/http/tests/client_session.test.cpp +++ b/beast/http/tests/client_session.test.cpp @@ -42,7 +42,7 @@ namespace beast { namespace http { /** Allows thread-safe forward traversal of a sequence. - + Each time the shared_iterator is dereferenced it provides an element in the sequence or the one-past-the-end iterator if there are no elements remaining in the sequence. Access to the shared iterator is thread safe: @@ -285,7 +285,7 @@ public: Response resp; ec = session.get (req, resp); - + if (ec) { // hack @@ -318,7 +318,7 @@ public: std::string const base (*cur); std::string url; url = "www." + base; - auto const ec (visit (session, url)); + visit (session, url); } } @@ -345,7 +345,7 @@ std::advance (last, 3000); #else std::size_t const hardware_concurrency (1); #endif - + for (std::size_t n (hardware_concurrency); n--;) pool.emplace_back (std::bind ( &client_session_test::concurrent_get , this,