From: Alex Rousskov Date: Wed, 14 Sep 2011 16:34:40 +0000 (-0600) Subject: Implemented the second Store::get() API to make ICC compiler happier. X-Git-Tag: BumpSslServerFirst.take01~157 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79672f4fdea5d3ec2d7f4edf7ff99ce9b6c6cc17;p=thirdparty%2Fsquid.git Implemented the second Store::get() API to make ICC compiler happier. TODO: Remove this second Store::get() member as unused, undocumented, and inefficient? --- diff --git a/src/fs/rock/RockSwapDir.cc b/src/fs/rock/RockSwapDir.cc index f1e3daf79c..898e0099f2 100644 --- a/src/fs/rock/RockSwapDir.cc +++ b/src/fs/rock/RockSwapDir.cc @@ -41,6 +41,12 @@ Rock::SwapDir::search(String const url, HttpRequest *) return NULL; // XXX: implement } +void +Rock::SwapDir::get(String const key, STOREGETCLIENT cb, void *data) +{ + ::SwapDir::get(key, cb, data); +} + // called when Squid core needs a StoreEntry with a given key StoreEntry * Rock::SwapDir::get(const cache_key *key) diff --git a/src/fs/rock/RockSwapDir.h b/src/fs/rock/RockSwapDir.h index 08895d5138..a39eaf9ed9 100644 --- a/src/fs/rock/RockSwapDir.h +++ b/src/fs/rock/RockSwapDir.h @@ -27,6 +27,7 @@ public: virtual void reconfigure(int, char *); virtual StoreSearch *search(String const url, HttpRequest *); virtual StoreEntry *get(const cache_key *key); + virtual void get(String const, STOREGETCLIENT, void * cbdata); virtual void disconnect(StoreEntry &e); virtual uint64_t currentSize() const; virtual uint64_t currentCount() const;