------- Comment #3 from wmacura at gmail dot com  2007-03-22 16:46 -------
Subject: Re:  Segmentation fault when assign std::string to another std::string
when using std::vector and inheritance

:-o

Damn. Construct() was a static function for a while and I didn't
notice this when I started butchering the code.

Thanks.

Wiktor

On 22 Mar 2007 16:34:01 -0000, pinskia at gcc dot gnu dot org
<[EMAIL PROTECTED]> wrote:
>
>
> ------- Comment #2 from pinskia at gcc dot gnu dot org  2007-03-22 16:34 
> -------
> The problem is with:
>                 Row r = r.construct(rawdata.at(i));
>
>
> You are using r before it is constructored.
>
> This is not a bug in GCC but in your code.
>
>
> --
>
> pinskia at gcc dot gnu dot org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31314
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31314

Reply via email to