summaryrefslogtreecommitdiff
path: root/boost/asio/buffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/asio/buffer.hpp')
-rw-r--r--boost/asio/buffer.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/asio/buffer.hpp b/boost/asio/buffer.hpp
index 66d638ec51..8abe0be499 100644
--- a/boost/asio/buffer.hpp
+++ b/boost/asio/buffer.hpp
@@ -2,7 +2,7 @@
// buffer.hpp
// ~~~~~~~~~~
//
-// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2018 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)
@@ -707,7 +707,7 @@ public:
void operator()()
{
- *iter_;
+ (void)*iter_;
}
private:
@@ -1476,7 +1476,7 @@ inline BOOST_ASIO_CONST_BUFFER buffer(
);
}
-#if defined(BOOST_ASIO_HAS_STD_STRING_VIEW) \
+#if defined(BOOST_ASIO_HAS_STRING_VIEW) \
|| defined(GENERATING_DOCUMENTATION)
/// Create a new modifiable buffer that represents the given string_view.
@@ -1521,7 +1521,7 @@ inline BOOST_ASIO_CONST_BUFFER buffer(
);
}
-#endif // defined(BOOST_ASIO_HAS_STD_STRING_VIEW)
+#endif // defined(BOOST_ASIO_HAS_STRING_VIEW)
// || defined(GENERATING_DOCUMENTATION)
/*@}*/