summaryrefslogtreecommitdiff
path: root/PlexServer.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2014-11-17 21:38:09 +0100
committerchriszero <zerov83@gmail.com>2014-11-17 21:38:09 +0100
commitfc243d8bfde7c24168b67f90341e7d0d114114b2 (patch)
treec8756fd61712d63801f2085959ac1b9468533af6 /PlexServer.cpp
parent23f9f7712bfa33b5a488a447a6fabe6035cc3240 (diff)
downloadvdr-plugin-plex-fc243d8bfde7c24168b67f90341e7d0d114114b2.tar.gz
vdr-plugin-plex-fc243d8bfde7c24168b67f90341e7d0d114114b2.tar.bz2
Removed c++11 dependency
Diffstat (limited to 'PlexServer.cpp')
-rw-r--r--PlexServer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/PlexServer.cpp b/PlexServer.cpp
index 94ba0e8..4eb1245 100644
--- a/PlexServer.cpp
+++ b/PlexServer.cpp
@@ -1,3 +1,4 @@
+#include <vdr/tools.h>
#include "PlexServer.h"
namespace plexclient
@@ -31,7 +32,7 @@ PlexServer::PlexServer(std::string data, std::string ip)
}
std::string PlexServer::GetUri() {
- return std::string("http://") + m_sIpAddress + ":" + std::to_string(m_nPort);
+ return std::string("http://") + m_sIpAddress + ":" + std::string(itoa(m_nPort));
}
PlexServer::~PlexServer()