summaryrefslogtreecommitdiff
path: root/boost/asio/error.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/asio/error.hpp')
-rw-r--r--boost/asio/error.hpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/boost/asio/error.hpp b/boost/asio/error.hpp
index 830d2818d2..dd338fb156 100644
--- a/boost/asio/error.hpp
+++ b/boost/asio/error.hpp
@@ -2,7 +2,7 @@
// error.hpp
// ~~~~~~~~~
//
-// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -255,13 +255,17 @@ inline const boost::system::error_category& get_addrinfo_category()
extern BOOST_ASIO_DECL
const boost::system::error_category& get_misc_category();
-static const boost::system::error_category& system_category
+static const boost::system::error_category&
+ system_category BOOST_ASIO_UNUSED_VARIABLE
= boost::asio::error::get_system_category();
-static const boost::system::error_category& netdb_category
+static const boost::system::error_category&
+ netdb_category BOOST_ASIO_UNUSED_VARIABLE
= boost::asio::error::get_netdb_category();
-static const boost::system::error_category& addrinfo_category
+static const boost::system::error_category&
+ addrinfo_category BOOST_ASIO_UNUSED_VARIABLE
= boost::asio::error::get_addrinfo_category();
-static const boost::system::error_category& misc_category
+static const boost::system::error_category&
+ misc_category BOOST_ASIO_UNUSED_VARIABLE
= boost::asio::error::get_misc_category();
} // namespace error