summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/customEvictor/Server.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-06-12 10:10:27 +0800
committerMatthew Newhook <matthew@zeroc.com>2007-06-12 10:10:27 +0800
commitdad94809b45711bfcc23f33f2ac7ad89c6460c8c (patch)
tree26747d77dd0f225418ca45c5c265c552ebfa6ba6 /cpp/demo/Freeze/customEvictor/Server.cpp
parentadded .gitignore updates. (diff)
downloadice-dad94809b45711bfcc23f33f2ac7ad89c6460c8c.tar.bz2
ice-dad94809b45711bfcc23f33f2ac7ad89c6460c8c.tar.xz
ice-dad94809b45711bfcc23f33f2ac7ad89c6460c8c.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2231
Diffstat (limited to 'cpp/demo/Freeze/customEvictor/Server.cpp')
-rw-r--r--cpp/demo/Freeze/customEvictor/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Freeze/customEvictor/Server.cpp b/cpp/demo/Freeze/customEvictor/Server.cpp
index 81ece9ace69..190f684e4e1 100644
--- a/cpp/demo/Freeze/customEvictor/Server.cpp
+++ b/cpp/demo/Freeze/customEvictor/Server.cpp
@@ -16,6 +16,7 @@
#include <SimpleEvictor.h>
using namespace std;
+using namespace Warehouse;
const int objectCount = 10000;
const int evictorSize = 8000;
@@ -34,7 +35,6 @@ main(int argc, char* argv[])
return app.main(argc, argv, "config.server");
}
-
int
WarehouseServer::run(int argc, char* argv[])
{
@@ -67,7 +67,7 @@ WarehouseServer::run(int argc, char* argv[])
//
// Populate database with objectCount entries
//
- Warehouse::ItemInfo info;
+ ItemInfo info;
connection->beginTransaction();