diff options
author | Matthew Newhook <matthew@zeroc.com> | 2002-03-13 17:43:14 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2002-03-13 17:43:14 +0000 |
commit | eabb7836cb1261b2c8f4cc0a9ab6d46be5b23660 (patch) | |
tree | 155130cd807eef3c3233d0d73bca167904db55d0 /cpp/demo/Freeze/library/Collocated.cpp | |
parent | Added Freeze/library demo. (diff) | |
download | ice-eabb7836cb1261b2c8f4cc0a9ab6d46be5b23660.tar.bz2 ice-eabb7836cb1261b2c8f4cc0a9ab6d46be5b23660.tar.xz ice-eabb7836cb1261b2c8f4cc0a9ab6d46be5b23660.zip |
minor cleanups.
Diffstat (limited to 'cpp/demo/Freeze/library/Collocated.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/Collocated.cpp | 4 |
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")); // |