From 2185394da06d32a3655e71ec022da202477350e7 Mon Sep 17 00:00:00 2001 From: andyq Date: Thu, 21 Nov 2002 20:16:40 +0000 Subject: Re-applied patch for gcc3.2 --- (limited to 'noncore/settings/aqpkg/datamgr.h') diff --git a/noncore/settings/aqpkg/datamgr.h b/noncore/settings/aqpkg/datamgr.h index 14b0b2f..41833df 100644 --- a/noncore/settings/aqpkg/datamgr.h +++ b/noncore/settings/aqpkg/datamgr.h @@ -38,17 +38,17 @@ class DataManager { public: DataManager(); - ~DataManager(); + ~DataManager(); void setActiveServer( const QString &act ) { activeServer = act; } QString &getActiveServer( ) { return activeServer; } - Server *getLocalServer() { return getServer( LOCAL_SERVER ); } + Server *getLocalServer() { return &( *getServer( LOCAL_SERVER ) ); } vector &getServerList() { return serverList; } - Server *getServer( const char *name ); + vector::iterator getServer( const char *name ); vector &getDestinationList() { return destList; } - Destination *getDestination( const char *name ); + vector::iterator getDestination( const char *name ); void loadServers(); void reloadServerData( ); -- cgit v0.9.0.2