From 3443a406eb54572697aaa62cc688725ff17b6864 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 15 Oct 2016 12:33:44 +0100 Subject: Null defaults for optional cookie parts --- icespider/core/ihttpRequest.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/icespider/core/ihttpRequest.h b/icespider/core/ihttpRequest.h index 6ead437..77b4ad3 100644 --- a/icespider/core/ihttpRequest.h +++ b/icespider/core/ihttpRequest.h @@ -58,10 +58,11 @@ namespace IceSpider { } } void setCookie(const std::string &, const std::string &, - const IceUtil::Optional &, const IceUtil::Optional &, bool, - IceUtil::Optional); + const IceUtil::Optional & = IceUtil::None, const IceUtil::Optional & = IceUtil::None, + bool = false, IceUtil::Optional = IceUtil::None); template - void setCookie(const std::string &, const T &, const IceUtil::Optional &, const IceUtil::Optional &, bool, IceUtil::Optional); + void setCookie(const std::string &, const T &, const IceUtil::Optional & = IceUtil::None, + const IceUtil::Optional & = IceUtil::None, bool = false, IceUtil::Optional = IceUtil::None); template IceUtil::Optional getQueryStringParam(const std::string & key) const; template -- cgit v1.2.3