summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-07-26 15:41:05 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-07-26 15:41:05 +0100
commit4c9137e39b120ba3d256e12bbafdcbd79b4f6513 (patch)
tree1b53349eedf3580c892691e6ded02992c0c30ca5
parentMove operator/= for pathparts matching as a Path member, reimplement with std... (diff)
downloadicespider-4c9137e39b120ba3d256e12bbafdcbd79b4f6513.tar.bz2
icespider-4c9137e39b120ba3d256e12bbafdcbd79b4f6513.tar.xz
icespider-4c9137e39b120ba3d256e12bbafdcbd79b4f6513.zip
getInput/OutputStream should be no discard
-rw-r--r--icespider/fcgi/cgiRequest.h4
1 files 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;
};
}