remove initialization of withCredentialsValue = flase as iso c++ complains it.

This commit is contained in:
Carsten Sandtner 2013-05-14 15:50:56 +02:00
parent 6449d79d60
commit a7e0a83a2e
1 changed files with 7 additions and 7 deletions

View File

@ -68,22 +68,22 @@ class MinXmlHttpRequest : public cocos2d::CCLayer
unsigned timeout;
bool isAsync;
cocos2d::extension::CCHttpRequest* cc_request;
bool isNetwork;
bool withCredentialsValue = false;
bool withCredentialsValue;
map<string, string> http_header;
map<string, string> request_header;
void _gotHeader(std::string header);
void _setRequestHeader(const char* field, const char* value);
void _setHttpRequestHeader();
void _sendRequest(JSContext *cx);
public:
MinXmlHttpRequest();
~MinXmlHttpRequest();
JS_BINDED_CLASS_GLUE(MinXmlHttpRequest);
JS_BINDED_CLASS_GLUE(MinXmlHttpRequest);
JS_BINDED_CONSTRUCTOR(MinXmlHttpRequest);
JS_BINDED_PROP_ACCESSOR(MinXmlHttpRequest, onreadystatechange);
JS_BINDED_PROP_ACCESSOR(MinXmlHttpRequest, responseType);
@ -103,9 +103,9 @@ public:
JS_BINDED_FUNC(MinXmlHttpRequest, getResponseHeader);
JS_BINDED_FUNC(MinXmlHttpRequest, setRequestHeader);
JS_BINDED_FUNC(MinXmlHttpRequest, overrideMimeType);
void handle_requestResponse(MinXmlHttpRequest *sender, cocos2d::extension::CCHttpResponse *response);
};
#endif
#endif