undef ascii, protocol code commented, must swap lambda

master
Henrique Santiago 13 years ago
parent 92ac4093a4
commit 48896f81dd

@ -27,11 +27,11 @@
Protocol::Protocol()
{
m_connection = g_connections.createConnection();
m_connection->setErrorCallback(
/*m_connection->setErrorCallback(
[this](const boost::system::error_code& error, const std::string& msg){
this->onError(error, msg);
}
);
);*/
}
void Protocol::send(NetworkMessagePtr networkMessage, Connection::ConnectionCallback onSend)

@ -39,6 +39,8 @@ typedef int32_t int32;
typedef int16_t int16;
typedef int8_t int8;
#undef __STRICT_ANSI__
// C headers
#include <cstdio>
#include <cstdlib>

@ -21,6 +21,7 @@
* THE SOFTWARE.
*/
#undef __STRICT_ANSI__
#include "logger.h"
#include "util.h"

@ -21,6 +21,7 @@
* THE SOFTWARE.
*/
#undef __STRICT_ANSI__
#include "util.h"
#include <cstdio>

Loading…
Cancel
Save