--- parser3/src/classes/response.C 2015/10/26 01:21:54 1.29 +++ parser3/src/classes/response.C 2016/04/06 16:08:19 1.31 @@ -11,7 +11,7 @@ #include "pa_request.h" #include "pa_vresponse.h" -volatile const char * IDENT_RESPONSE_C="$Id: response.C,v 1.29 2015/10/26 01:21:54 moko Exp $"; +volatile const char * IDENT_RESPONSE_C="$Id: response.C,v 1.31 2016/04/06 16:08:19 moko Exp $"; // class @@ -24,7 +24,7 @@ public: // Methoded // global variable -DECLARE_CLASS_VAR(response, new MResponse, 0); +DECLARE_CLASS_VAR(response, new MResponse); // methods @@ -36,5 +36,5 @@ static void _clear(Request& r, MethodPar MResponse::MResponse(): Methoded("response") { // ^clear[] - add_native_method("clear", Method::CT_DYNAMIC, _clear, 0, 0); + add_native_method("clear", Method::CT_STATIC, _clear, 0, 0); }