summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/complex/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-22 17:07:43 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-22 17:07:43 +0000
commitee9134f129672068403f488e9a326411ca9cc1b1 (patch)
tree5bd03a07398ed4ffd2fc8d929ab4a0ce97a843a1 /cpp/test/Freeze/complex/Client.cpp
parentfixes (diff)
downloadice-ee9134f129672068403f488e9a326411ca9cc1b1.tar.bz2
ice-ee9134f129672068403f488e9a326411ca9cc1b1.tar.xz
ice-ee9134f129672068403f488e9a326411ca9cc1b1.zip
removed several static's
Diffstat (limited to 'cpp/test/Freeze/complex/Client.cpp')
-rw-r--r--cpp/test/Freeze/complex/Client.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/test/Freeze/complex/Client.cpp b/cpp/test/Freeze/complex/Client.cpp
index 650507431fe..f479733cb9d 100644
--- a/cpp/test/Freeze/complex/Client.cpp
+++ b/cpp/test/Freeze/complex/Client.cpp
@@ -51,19 +51,19 @@ validate(const DBPtr& db)
return EXIT_SUCCESS;
}
+static const char* expressions[] =
+{
+ "2",
+ "10",
+ "2+(5*3)",
+ "5*(2+3)",
+ "10+(10+(20+(8*(2*(3*2+4+5+6)))))"
+};
+static const int nexpressions = sizeof(expressions)/sizeof(expressions[0]);
+
static int
populate(const DBPtr& db)
{
- static const char* expressions[] =
- {
- "2",
- "10",
- "2+(5*3)",
- "5*(2+3)",
- "10+(10+(20+(8*(2*(3*2+4+5+6)))))"
- };
- static int nexpressions = sizeof(expressions)/sizeof(expressions[0]);
-
Complex::ComplexDict m(db);
cout << "populating the database... ";