--- parser3/src/classes/string.C 2003/02/26 11:29:56 1.125.2.12 +++ parser3/src/classes/string.C 2003/03/05 11:57:36 1.125.2.13 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_STRING_C="$Date: 2003/02/26 11:29:56 $"; +static const char* IDENT_STRING_C="$Date: 2003/03/05 11:57:36 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -458,7 +458,7 @@ StringPtr sql_result_string(Request& r, statement_string); if(!handlers.got_cell) - return 0; // no lines, caller should return second param[default value] + return StringPtr(0); // no lines, caller should return second param[default value] return handlers.result; } @@ -493,7 +493,8 @@ static void _replace(Request& r, StringP method_name, "parameter must be table"); - Dictionary dict2(TablePtr(table), 1/*am not sure why using the =default parameter causes compile errors in replace*/ ); + TablePtr tp(table); + Dictionary dict2(tp, 1/*am not sure why using the =default parameter causes compile errors in replace*/ ); r.write_assign_lang(*src->replace(pool, dict2)); }