I am using Marmalade 7.1.2 and trying to create a room with certain properties. I have created a map to use, but I get the error:
Error 4 error C2664: 'void AppWarp::Client::createRoom(_STL::string,_STL::string,int,_STL::map<_Key,_Tp>)' : cannot convert parameter 4 from '_STL::map<_Key,_Tp>' to '_STL::map<_Key,_Tp>' c:\users\scott\desktop\ctf\ctf\source\data.cpp 109
this is the code I am using..
std::map <string, int> properties;
properties["level"] = 1;
warpClient->createRoom(std::string("userCreatedRoom"), std::string("Admin"), 8, properties);
Whats wrong here?