proposed change to UT_String


Subject: proposed change to UT_String
From: Joaquín Cuenca Abela (cuenca@celium.net)
Date: Sat Apr 14 2001 - 14:34:56 CDT


What do you (Mike?) think about changing the clear method of
UT_Stringbuf from

        if (m_psz)
        {
                delete[] m_psz;
                m_psz = 0;
                m_pEnd = 0;
                m_size = 0;
        }

to only

        if (m_psz)
                m_size = 0;

?

Of course, we should change too the destructor (something like

        clear();
        delete[] m_psz;

will do the work).

Cheers,

--
Joaquín Cuenca Abela
cuenca@celium.net



This archive was generated by hypermail 2b25 : Sat Apr 14 2001 - 14:35:22 CDT