diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-22 17:07:43 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-22 17:07:43 +0000 |
commit | ee9134f129672068403f488e9a326411ca9cc1b1 (patch) | |
tree | 5bd03a07398ed4ffd2fc8d929ab4a0ce97a843a1 /cpp/test/Freeze/complex/Client.cpp | |
parent | fixes (diff) | |
download | ice-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.cpp | 20 |
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... "; |