from happening because the default/generated constructor and operator do not
do the right thing.
/*
- * $Id: ICAPConfig.cc,v 1.18 2007/06/28 15:11:01 rousskov Exp $
+ * $Id: ICAPConfig.cc,v 1.19 2007/06/28 15:28:59 rousskov Exp $
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
// can still be bypassed
return Config.Timeout.read;
}
+
+ICAPConfig::ICAPConfig(const ICAPConfig &)
+{
+ assert(false); // unsupported
+}
+
+ICAPConfig &ICAPConfig::operator =(const ICAPConfig &)
+{
+ assert(false); // unsupported
+ return *this;
+}
/*
- * $Id: ICAPConfig.h,v 1.15 2007/06/28 15:11:01 rousskov Exp $
+ * $Id: ICAPConfig.h,v 1.16 2007/06/28 15:28:59 rousskov Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
void freeICAPAccess(void);
void dumpICAPAccess(StoreEntry *, const char *) const;
+private:
+ ICAPConfig(const ICAPConfig &); // unsupported
+ ICAPConfig &operator =(const ICAPConfig &); // unsupported
};
extern ICAPConfig TheICAPConfig;