From 848aaf80bff6102e377c9cbd2a52679b74102699 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 30 May 2000 03:12:27 +0000 Subject: [PATCH] minor change to stop g++ 2.95.2 complaining about taking the address of a member function. --- src/yaz-client.cpp | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/yaz-client.cpp b/src/yaz-client.cpp index e7f66e8..2bd47b1 100644 --- a/src/yaz-client.cpp +++ b/src/yaz-client.cpp @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-client.cpp,v $ - * Revision 1.9 1999-12-06 13:52:45 adam + * Revision 1.10 2000-05-30 03:12:27 ian + * minor change to stop g++ 2.95.2 complaining about taking the address + * of a member function. + * + * Revision 1.9 1999/12/06 13:52:45 adam * Modified for new location of YAZ header files. Experimental threaded * operation. * @@ -518,16 +522,16 @@ int MyClient::processCommand(const char *commandLine) int (MyClient::*fun)(char *arg); char *ad; } cmd[] = { - {"open", &cmd_open, "[':'][/]"}, - {"connect", &cmd_connect, "[':'][/]"}, - {"quit", &cmd_quit, ""}, - {"close", &cmd_close, ""}, - {"find", &cmd_find, ""}, - {"show", &cmd_show, "[ []]"}, - {"cookie", &cmd_cookie, ""}, - {"init", &cmd_init, ""}, - {"format", &cmd_format, ""}, - {"proxy", &cmd_proxy, ":[':']"}, + {"open", &MyClient::cmd_open, "[':'][/]"}, + {"connect", &MyClient::cmd_connect, "[':'][/]"}, + {"quit", &MyClient::cmd_quit, ""}, + {"close", &MyClient::cmd_close, ""}, + {"find", &MyClient::cmd_find, ""}, + {"show", &MyClient::cmd_show, "[ []]"}, + {"cookie", &MyClient::cmd_cookie, ""}, + {"init", &MyClient::cmd_init, ""}, + {"format", &MyClient::cmd_format, ""}, + {"proxy", &MyClient::cmd_proxy, ":[':']"}, {0,0,0} }; -- 1.7.10.4