--- parser3/src/main/pa_dictionary.C 2001/11/05 11:46:27 1.9 +++ parser3/src/main/pa_dictionary.C 2002/02/20 10:40:08 1.13 @@ -1,10 +1,10 @@ /** @file Parser: dictionary class impl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_dictionary.C,v 1.9 2001/11/05 11:46:27 paf Exp $ + $Id: pa_dictionary.C,v 1.13 2002/02/20 10:40:08 paf Exp $ */ #include "pa_dictionary.h" @@ -17,7 +17,7 @@ void Dictionary::add_first(Array::Item * const String& a=*row->get_string(0); const String& b=*row->get_string(1); // empty 'a' check - if(a.size()==0) { + if(a.is_empty()) { Pool& pool=self.pool(); throw Exception(0, 0, &a, @@ -33,7 +33,6 @@ void Dictionary::add_first(Array::Item * self.constructor_line++; } - Dictionary::Dictionary(Table& atable, double amin_ratio) : Pooled(atable.pool()), table(atable), fmax_ratio(amin_ratio) {