summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/customEvictor/CurrentDatabase.cpp
diff options
context:
space:
mode:
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()
{