We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aba525d commit 0735de2Copy full SHA for 0735de2
src/ChunkedReaderImpl.cpp
@@ -46,8 +46,15 @@ class ChunkedReaderImpl : public DataReader {
46
}
47
48
void Log(const boost::asio::const_buffers_1 buffers, const char *tag) {
49
+#if __cplusplus >= 201703L
50
+ [[maybe_unused]]
51
+#endif
52
const auto buf_len = boost::asio::buffer_size(*buffers.begin());
53
54
+#if __cplusplus < 201703L
55
+ static_cast<void>(buf_len);
56
57
+
58
// At the time of the implementation, there are never multiple buffers.
59
RESTC_CPP_LOG_TRACE_(tag << ' ' << "# " << buf_len
60
<< " bytes: "
0 commit comments