From 28e01b8c6a137a9e98d95689be3d3d72be18d9d7 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sun, 14 Jul 2002 19:08:08 +0000 Subject: - Non-KDE stuff now builds correctly with gcc3 --- ncpd/ncp.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ncpd/ncp.h') diff --git a/ncpd/ncp.h b/ncpd/ncp.h index 5a6a1ba..fba51e5 100644 --- a/ncpd/ncp.h +++ b/ncpd/ncp.h @@ -46,12 +46,13 @@ class channel; */ class PcServer { public: - PcServer(ppsocket *, string _name) { name = _name; } + PcServer(ppsocket *, std::string _name) { name = _name; } ~PcServer() {} bool clientConnect(int, int) { return false; } - string getName() { return name; } + std::string getName() { return name; } + PcServer *self() { return this; } private: - string name; + std::string name; }; class ncp { @@ -111,7 +112,7 @@ private: short int protocolVersion; linkChan *lChan; int maxChannels; - vector pcServers; + std::vector pcServers; }; #endif -- cgit v1.2.3