diff --git a/CHANGELOG.md b/CHANGELOG.md index 35e74d09..5e62ef39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Version 78: * Header file tidying * Tidy up FieldsReader doc * Add Boost.Locale utf8 benchmark comparison +* Tidy up dstream for existing Boost versions HTTP: diff --git a/extras/beast/unit_test/dstream.hpp b/extras/beast/unit_test/dstream.hpp index 0e95a04d..fe02a26e 100644 --- a/extras/beast/unit_test/dstream.hpp +++ b/extras/beast/unit_test/dstream.hpp @@ -17,7 +17,7 @@ #ifdef BOOST_WINDOWS #include -#include +//#include #endif namespace beast { @@ -42,14 +42,14 @@ class dstream_buf void write(char const* s) { if(dbg_) - boost::detail::winapi::OutputDebugStringA(s); + /*boost::detail::winapi*/::OutputDebugStringA(s); os_ << s; } void write(wchar_t const* s) { if(dbg_) - boost::detail::winapi::OutputDebugStringW(s); + /*boost::detail::winapi*/::OutputDebugStringW(s); os_ << s; } @@ -57,7 +57,7 @@ public: explicit dstream_buf(ostream& os) : os_(os) - , dbg_(boost::detail::winapi::IsDebuggerPresent() != 0) + , dbg_(/*boost::detail::winapi*/::IsDebuggerPresent() != 0) { }