[Bug c++/31314] Segmentation fault when assign std::string to another std::string when using std::vector and inheritance

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 22 16:34:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list