--- parser3/src/classes/classes.C 2001/09/21 14:46:09 1.8 +++ parser3/src/classes/classes.C 2002/02/08 08:30:09 1.15 @@ -1,11 +1,11 @@ /** @file Parser: @b Methoded and Methoded_array classes. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - Author: Alexander Petrosyan (http://design.ru/paf) + $Id: classes.C,v 1.15 2002/02/08 08:30:09 paf Exp $ */ -static const char *RCSId="$Id: classes.C,v 1.8 2001/09/21 14:46:09 parser Exp $"; #include "classes.h" #include "pa_request.h" @@ -31,8 +31,8 @@ Methoded_array::Methoded_array(Pool& apo static void configure_admin_one(Array::Item *value, void *info) { Request& r=*static_cast(info); - Methoded *methoded=static_cast(value); - methoded->configure_admin(r); + if(Methoded *methoded=static_cast(value)) + methoded->configure_admin(r); } void Methoded_array::configure_admin(Request& r) {