File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4545#include < streambuf>
4646#include < vector>
4747
48- namespace lz4tream {
48+ namespace lz4stream {
4949/* *
5050 * @brief An output stream that will LZ4 compress the input data.
5151 *
@@ -74,7 +74,7 @@ namespace lz4tream {
7474 *
7575 * @param sink The stream to write compressed data to
7676 */
77- explicit basic_ostream (std::ostream &sink) : std::ostream(new output_buffer(sink)), buffer_(dynamic_cast <output_buffer *>(rdbuf())) {
77+ [[maybe_unused]] explicit basic_ostream (std::ostream &sink) : std::ostream(new output_buffer(sink)), buffer_(dynamic_cast <output_buffer *>(rdbuf())) {
7878 assert (buffer_);
7979 }
8080
@@ -236,7 +236,7 @@ namespace lz4tream {
236236 *
237237 * @param source The stream to read LZ4 compressed data from
238238 */
239- explicit basic_istream (std::istream &source) : std::istream(new input_buffer(source)), buffer_(dynamic_cast <input_buffer *>(rdbuf())) {
239+ [[maybe_unused]] explicit basic_istream (std::istream &source) : std::istream(new input_buffer(source)), buffer_(dynamic_cast <input_buffer *>(rdbuf())) {
240240 assert (buffer_);
241241 }
242242
@@ -319,7 +319,7 @@ namespace lz4tream {
319319 };
320320
321321 using ostream = basic_ostream<>;
322- using istream = basic_istream<>;
322+ using istream [[maybe_unused]] = basic_istream<>;
323323
324324}
325325#endif // lz4tream
You can’t perform that action at this time.
0 commit comments