X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b3139bf3f37b3b0244efea8b4b5e5a7d0bc90095..f8ca79f0620b6738a4714f1ccadf6a1c9ac73947:/include/stg/services.h diff --git a/include/stg/services.h b/include/stg/services.h index 8c49f781..1fe4dca1 100644 --- a/include/stg/services.h +++ b/include/stg/services.h @@ -33,7 +33,7 @@ public: 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; - virtual bool Find(const std::string & name, SERVICE_CONF * service) = 0; + virtual bool Find(const std::string & name, SERVICE_CONF * service) const = 0; virtual bool Exists(const std::string & name) const = 0; virtual const std::string & GetStrError() const = 0; virtual size_t Count() const = 0;