Hello,
I found that g++-4.0 issues a warning at HTTPHeader::setCookie()
because there is no explicit assignment operator for HTTPCookie.
I thus propose to add it to the class:
| /*!
| * \brief Assignment operator.
| *
| * \param cookie The HTTPCookie to initialize *this with
| * \return a reference to *this
| */
| inline HTTPCookie&
| operator= (const HTTPCookie& cookie)
| {
| this->fName = cookie.fName;
| this->fValue = cookie.fValue;
| this->fComment = cookie.fComment;
| this->fDomain = cookie.fDomain;
| this->fMaxAge = cookie.fMaxAge;
| this->fPath = cookie.fPath;
| this->fSecure = cookie.fSecure;
| }
Cheers,
Martin
--
---- Dipl.Ing. Martin Dietze -- / ---
martin.dietze@... ----------
-- 4G Systeme GmbH Hamburg --- / ---
martin@... --
------------- /
http://herbert.the-little-red-haired-girl.org / -------------
=+=
My opinions may have changed, but not the fact that I am right.
_______________________________________________
bug-cgicc mailing list
bug-cgicc@...
http://lists.gnu.org/mailman/listinfo/bug-cgicc