From 21fb8d8eb93ddba5eb08976d013d3f956bdd19d6 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 22 Jul 2015 21:13:58 +0300 Subject: [PATCH 1/1] Fixed deps between conn and proto. --- stglibs/sgcp.lib/include/stg/sgcp_conn.h | 2 ++ stglibs/sgcp.lib/include/stg/sgcp_proto.h | 1 + 2 files changed, 3 insertions(+) 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" -- 2.44.2