summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/Server.cpp')
-rw-r--r--cpp/demo/Freeze/library/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/library/Server.cpp b/cpp/demo/Freeze/library/Server.cpp
index c91b12215ff..f7e729422f8 100644
--- a/cpp/demo/Freeze/library/Server.cpp
+++ b/cpp/demo/Freeze/library/Server.cpp
@@ -49,7 +49,7 @@ LibraryServer::run(int argc, char* argv[])
//
// Create an evictor for books.
//
- Freeze::EvictorPtr evictor = Freeze::createEvictor(adapter, _envName, "books");
+ Freeze::EvictorPtr evictor = Freeze::createBackgroundSaveEvictor(adapter, _envName, "books");
Ice::Int evictorSize = properties->getPropertyAsInt("EvictorSize");
if(evictorSize > 0)
{