Removes the need for a custom assignment operator with a questionable
implementation, addressing compiler and static analysis warnings.
* It has a runtime extension facility to allow it to
* efficiently support new methods
*/
-class HttpRequestMethod : public RefCountable
+class HttpRequestMethod
{
public:
HttpRequestMethod() : theMethod(Http::METHOD_NONE), theImage() {}
void HttpRequestMethodXXX(char const *); // deprecated old c-string to SBuf converter.
- HttpRequestMethod & operator = (const HttpRequestMethod& aMethod) {
- theMethod = aMethod.theMethod;
- theImage = aMethod.theImage;
- return *this;
- }
-
HttpRequestMethod & operator = (Http::MethodType const aMethod) {
theMethod = aMethod;
theImage.clear();
class HttpHdrSc;
class HttpRequestMethod;
-typedef RefCount<HttpRequestMethod> HttpRequestMethodPointer;
class HttpRequest;
typedef RefCount<HttpRequest> HttpRequestPointer;