summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/InternalRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/InternalRegistryI.cpp')
-rw-r--r--cpp/src/IceGrid/InternalRegistryI.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/InternalRegistryI.cpp b/cpp/src/IceGrid/InternalRegistryI.cpp
index 2d45bbf129f..2425fe0f177 100644
--- a/cpp/src/IceGrid/InternalRegistryI.cpp
+++ b/cpp/src/IceGrid/InternalRegistryI.cpp
@@ -32,7 +32,7 @@ InternalRegistryI::InternalRegistryI(const RegistryIPtr& registry,
_database(database),
_reaper(reaper),
_wellKnownObjects(wellKnownObjects),
- _fileCache(new FileCache()),
+ _fileCache(new FileCache(database->getCommunicator())),
_session(session)
{
Ice::PropertiesPtr properties = database->getCommunicator()->getProperties();
@@ -121,10 +121,10 @@ InternalRegistryI::getOffsetFromEnd(const string& filename, int count, const Ice
}
bool
-InternalRegistryI::read(const string& filename, Ice::Long pos, int count, int size, Ice::Long& newPos,
- Ice::StringSeq& lines, const Ice::Current&) const
+InternalRegistryI::read(const string& filename, Ice::Long pos, int size, Ice::Long& newPos, Ice::StringSeq& lines,
+ const Ice::Current&) const
{
- return _fileCache->read(getFilePath(filename), pos, count, size, newPos, lines);
+ return _fileCache->read(getFilePath(filename), pos, size, newPos, lines);
}
string