Remove deprecated serializer::reader_impl()

This commit is contained in:
Vinnie Falco committed 2018-05-03 19:42:36 -07:00
1 parent f48b978044
commit 73bc28aaa2
3 files changed
+11 -29

No files matched your search

-20
View File
@@ -344,26 +344,6 @@ public:
void
consume(std::size_t n);
/** Provides low-level access to the associated @b BodyWriter (DEPRECATED)
This function provides access to the instance of the writer
associated with the body and created by the serializer
upon construction. The behavior of accessing this object
is defined by the specification of the particular writer
and its associated body.
@return A reference to the writer.
*/
writer&
reader_impl()
{
#ifndef BOOST_BEAST_ALLOW_DEPRECATED
BOOST_STATIC_ASSERT_MSG(sizeof(Body) == 0,
BOOST_BEAST_DEPRECATION_STRING);
#endif
return wr_;
}
/** Provides low-level access to the associated @b BodyWriter
This function provides access to the instance of the writer