summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-06-25 16:55:02 -0700
committerMark Spruiell <mes@zeroc.com>2007-06-25 16:55:53 -0700
commitc014b2b35d34affb7a6da86baf360e0f5298945b (patch)
tree8d1d0e708532f065a046a3efb7c87e3f42755c42 /cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-c014b2b35d34affb7a6da86baf360e0f5298945b.tar.bz2
ice-c014b2b35d34affb7a6da86baf360e0f5298945b.tar.xz
ice-c014b2b35d34affb7a6da86baf360e0f5298945b.zip
bug 995 - review & minor edits
Diffstat (limited to 'cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp')
-rw-r--r--cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp b/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
index 357cfa69d56..e45b4feb28b 100644
--- a/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
+++ b/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
@@ -14,7 +14,7 @@ using namespace std;
using namespace IceUtil;
//
-// This implementation is very simple but not restartable, i.e. you
+// This implementation is very simple but not restartable, i.e., you
// can only create and destroy one CurrentDatabase per process run.
//
@@ -26,9 +26,8 @@ namespace
{
//
-// We keep a db on each thread
+// We keep a db on each thread.
//
-
__thread Database* db = 0;
}
@@ -48,7 +47,6 @@ CurrentDatabase::~CurrentDatabase()
}
}
-
Database&
CurrentDatabase::get()
{