Skip to content

Commit 22a1b0d

Browse files
committed
No longer need boost.regex, boost.date_time, boost.chrono or boost.atomic.
1 parent 873929e commit 22a1b0d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ add_definitions(-DBOOST_TEST_DYN_LINK)
4747
set(Boost_USE_MULTI_THREADED ON)
4848

4949
find_package(Boost 1.57.0
50-
REQUIRED system regex date_time thread filesystem program_options chrono
51-
atomic)
50+
REQUIRED system thread filesystem program_options)
5251

5352
if (CPP-NETLIB_ENABLE_HTTPS)
5453
find_package( OpenSSL )

libs/network/example/http_client.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ int main(int argc, char* argv[]) {
7373

7474
if (show_headers) {
7575
auto headers_ = response.headers();
76-
typedef std::pair<std::string, std::string> header_type;
7776
for (auto const& header : headers_) {
7877
std::cout << header.first << ": " << header.second << std::endl;
7978
}

0 commit comments

Comments
 (0)