diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-04-28 18:54:48 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-04-28 18:54:48 +0000 |
commit | 515f888716fb1a9a3cd3a604bd77ac98f5e569d3 (patch) | |
tree | 22c04212f44530b35a618db5fc5f56b694fcd0a7 /cpp/src/IceGrid/AdapterCache.h | |
parent | Fixed VC8 warning (diff) | |
download | ice-515f888716fb1a9a3cd3a604bd77ac98f5e569d3.tar.bz2 ice-515f888716fb1a9a3cd3a604bd77ac98f5e569d3.tar.xz ice-515f888716fb1a9a3cd3a604bd77ac98f5e569d3.zip |
Fixed build failure
Diffstat (limited to 'cpp/src/IceGrid/AdapterCache.h')
-rw-r--r-- | cpp/src/IceGrid/AdapterCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/AdapterCache.h b/cpp/src/IceGrid/AdapterCache.h index bb86884d963..386b2b14c66 100644 --- a/cpp/src/IceGrid/AdapterCache.h +++ b/cpp/src/IceGrid/AdapterCache.h @@ -38,9 +38,10 @@ public: virtual std::vector<std::pair<std::string, AdapterPrx> > getProxies(bool, int&, const SessionIPtr&) { assert(false); + return std::vector<std::pair<std::string, AdapterPrx> >(); } - virtual float getLeastLoadedNodeLoad(LoadSample) const { assert(false); } - virtual std::string getApplication() const { assert(false); } + virtual float getLeastLoadedNodeLoad(LoadSample) const { assert(false); return 0.0; } + virtual std::string getApplication() const { assert(false); return "";} virtual bool canRemove(); protected: |