Fix build with Boost 1.70.0
Refs: #4967
Change-Id: Ie5973314427468d493d10bff495c6882d3d86ca3
diff --git a/src/handles/tcp-bulk-insert-handle.hpp b/src/handles/tcp-bulk-insert-handle.hpp
index 62ced11..49ee8e0 100644
--- a/src/handles/tcp-bulk-insert-handle.hpp
+++ b/src/handles/tcp-bulk-insert-handle.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014, Regents of the University of California.
+/*
+ * Copyright (c) 2014-2019, Regents of the University of California.
*
* This file is part of NDN repo-ng (Next generation of NDN repository).
* See AUTHORS.md for complete list of repo-ng authors and contributors.
@@ -23,7 +23,7 @@
#include "common.hpp"
#include "storage/repo-storage.hpp"
-#include <boost/asio.hpp>
+#include <boost/asio/ip/tcp.hpp>
namespace repo {
@@ -58,6 +58,9 @@
private:
void
+ asyncAccept();
+
+ void
handleAccept(const boost::system::error_code& error,
const std::shared_ptr<boost::asio::ip::tcp::socket>& socket);