Add typedef for SharedPtr<Client>

This commit is contained in:
fbraem
2015-11-20 18:34:37 +01:00
parent 065ec5c6e9
commit 4c239205d2

View File

@@ -72,6 +72,9 @@ class Redis_API Client
/// command << "list";
{
public:
typedef SharedPtr<Client> Ptr;
Client();
/// Default constructor. Use this when you want to
/// connect later on.
@@ -185,7 +188,7 @@ private:
void connect();
/// Connects to the Redis server
void connect(const Timespan& timeout);
/// Connects to the Redis server and sets a timeout.