@@ -80,7 +80,7 @@ public:
else
{
touch* p1, *p2;
- for (std::map<int, touch>::iterator i = _touches.begin(); i != _touches.end(); ++i)
+ for (std::map<int, touch>::iterator i = _touches.begin(); i != _touches.end(); ++i)
if (i->first == te->index)
p1 = &i->second;
@@ -131,8 +131,10 @@ namespace oxygine
if (msg->msg == CURLMSG_DONE)
+#ifdef OX_HAS_CPP11 //msg broken in VS2010
curl_multi_remove_handle(multi_handle, msg->easy_handle);
core::getMainThreadDispatcher().postCallback(ID_DONE, msg->easy_handle, (void*)msg->data.result, mainThreadFunc, 0);
+#endif
}