8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 20:03:03 +01:00

GCC doesn't consider double const a valid C++

This commit is contained in:
skidder 2004-03-11 05:41:51 +00:00
parent b2a0fdce3a
commit f015557545
2 changed files with 2 additions and 2 deletions

View File

@ -5230,7 +5230,7 @@ static void get_inactivities(Csb* csb, ULONG * dependencies)
dependencies[n] = (ULONG) - 1;
n = 0;
Csb::rpt_itr tail = csb->csb_rpt.begin();
for (const Csb::rpt_itr const end = tail + csb->csb_n_stream;
for (const Csb::rpt_itr end = tail + csb->csb_n_stream;
tail < end; n++, tail++)
{
if (tail->csb_flags & csb_active)

View File

@ -192,7 +192,7 @@ jrd_nod* PAR_blr(thread_db* tdbb,
// AB: csb_n_stream replaced by view_csb->csb_rpt.getCount(), because there could
// be more then just csb_n_stream-numbers that hold data.
// Certainly csb_stream (see par_context where the context is retrieved)
const Csb::rpt_itr const end = view_csb->csb_rpt.end();
const Csb::rpt_itr end = view_csb->csb_rpt.end();
for (stream = 0; ptr != end; ++ptr, ++stream) {
t2 = CMP_csb_element(csb, stream);
t2->csb_relation = ptr->csb_relation;