]> git.stg.codes - stg.git/blobdiff - include/stg/services.h
Correcting return in method GetParamValue and cycle in methods OnConnect and OnDisconnect
[stg.git] / include / stg / services.h
index 5ff7a1a8a7eab0775af70858e4948dcca1165314..ddec31beb9af61a602a27bb8b8f05ee2956bc34c 100644 (file)
@@ -29,6 +29,7 @@ class ADMIN;
 
 class SERVICES {
 public:
+    virtual ~SERVICES() {}
     virtual int Add(const SERVICE_CONF & service, const ADMIN * admin) = 0;
     virtual int Del(const std::string & name, const ADMIN * admin) = 0;
     virtual int Change(const SERVICE_CONF & service, const ADMIN * admin) = 0;