From ee9134f129672068403f488e9a326411ca9cc1b1 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Sun, 22 Sep 2002 17:07:43 +0000 Subject: removed several static's --- cpp/test/Freeze/complex/Client.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'cpp/test/Freeze/complex/Client.cpp') 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... "; -- cgit v1.2.3