summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Collocated.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2002-03-13 17:43:14 +0000
committerMatthew Newhook <matthew@zeroc.com>2002-03-13 17:43:14 +0000
commiteabb7836cb1261b2c8f4cc0a9ab6d46be5b23660 (patch)
tree155130cd807eef3c3233d0d73bca167904db55d0 /cpp/demo/Freeze/library/Collocated.cpp
parentAdded Freeze/library demo. (diff)
downloadice-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.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"));
//