summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/Collocated.cpp')
-rw-r--r--cpp/demo/Freeze/library/Collocated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Freeze/library/Collocated.cpp b/cpp/demo/Freeze/library/Collocated.cpp
index b18d92e39aa..7e30c030576 100644
--- a/cpp/demo/Freeze/library/Collocated.cpp
+++ b/cpp/demo/Freeze/library/Collocated.cpp
@@ -40,7 +40,7 @@ LibraryCollocated::runFreeze(int argc, char* argv[], const Freeze::DBEnvironment
string value;
Freeze::DBPtr dbBooks = dbEnv->openDB("books", true);
- Freeze::DBPtr dbAuthor = dbEnv->openDB("authors", true);
+ Freeze::DBPtr dbAuthors = dbEnv->openDB("authors", true);
//
// Create an Evictor for books.
@@ -72,7 +72,7 @@ LibraryCollocated::runFreeze(int argc, char* argv[], const Freeze::DBEnvironment
//
// Create the library, and add it to the Object Adapter.
//
- LibraryIPtr library = new LibraryI(adapter, dbAuthor, evictor);
+ LibraryIPtr library = new LibraryI(adapter, dbAuthors, evictor);
adapter->add(library, Ice::stringToIdentity("library"));
//