From 4c9137e39b120ba3d256e12bbafdcbd79b4f6513 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 26 Jul 2023 15:41:05 +0100 Subject: getInput/OutputStream should be no discard --- icespider/fcgi/cgiRequest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icespider/fcgi/cgiRequest.h b/icespider/fcgi/cgiRequest.h index 1784932..2282334 100644 --- a/icespider/fcgi/cgiRequest.h +++ b/icespider/fcgi/cgiRequest.h @@ -10,7 +10,7 @@ namespace IceSpider { public: CgiRequest(Core * c, int argc, char ** argv, char ** env); - std::istream & getInputStream() const override; - std::ostream & getOutputStream() const override; + [[nodiscard]] std::istream & getInputStream() const override; + [[nodiscard]] std::ostream & getOutputStream() const override; }; } -- cgit v1.2.3