From: Maxim Mamontov Date: Wed, 22 Jul 2015 18:13:58 +0000 (+0300) Subject: Fixed deps between conn and proto. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/21fb8d8eb93ddba5eb08976d013d3f956bdd19d6?ds=sidebyside;hp=339fd7fea3e32fcd87b018075d0606375e14ec20 Fixed deps between conn and proto. --- diff --git a/stglibs/sgcp.lib/include/stg/sgcp_conn.h b/stglibs/sgcp.lib/include/stg/sgcp_conn.h index 9deb7c7a..075ddf27 100644 --- a/stglibs/sgcp.lib/include/stg/sgcp_conn.h +++ b/stglibs/sgcp.lib/include/stg/sgcp_conn.h @@ -62,6 +62,8 @@ class Connection : public boost::enable_shared_from_this ErrorHandler m_errorHandler; }; +typedef boost::shared_ptr ConnectionPtr; + } // namespace SGCP } // namespace STG diff --git a/stglibs/sgcp.lib/include/stg/sgcp_proto.h b/stglibs/sgcp.lib/include/stg/sgcp_proto.h index 4d16c844..9a750b5f 100644 --- a/stglibs/sgcp.lib/include/stg/sgcp_proto.h +++ b/stglibs/sgcp.lib/include/stg/sgcp_proto.h @@ -22,6 +22,7 @@ */ #include "sgcp_types.h" // TransportType +#include "sgcp_conn.h" #include "stg/os_int.h"