Re: [Development] Is QImage movable

2015-05-27 Thread Knoll Lars
On 26/05/15 13:56, "Marc Mutz" wrote: >On Saturday 23 May 2015 19:47:28 Thiago Macieira wrote: >> On Saturday 23 May 2015 15:35:23 Иван Комиссаров wrote: >> > Hi. >> > >> > I’ve created a QVector of QImages and tried to insert an image in the >> > vector: QVector images; >> > images.insert(image

Re: [Development] Is QImage movable

2015-05-26 Thread Иван Комиссаров
Good, that's what i exactly wanted to know. 2015-05-26 14:56 GMT+03:00 Marc Mutz : > On Saturday 23 May 2015 19:47:28 Thiago Macieira wrote: > > On Saturday 23 May 2015 15:35:23 Иван Комиссаров wrote: > > > Hi. > > > > > > I’ve created a QVector of QImages and tried to insert an image in the > >

Re: [Development] Is QImage movable

2015-05-26 Thread Marc Mutz
On Saturday 23 May 2015 19:47:28 Thiago Macieira wrote: > On Saturday 23 May 2015 15:35:23 Иван Комиссаров wrote: > > Hi. > > > > I’ve created a QVector of QImages and tried to insert an image in the > > vector: QVector images; > > images.insert(images.begin(), QImage()); > > > > I got a compiler

Re: [Development] Is QImage movable

2015-05-23 Thread Thiago Macieira
On Saturday 23 May 2015 15:35:23 Иван Комиссаров wrote: > Hi. > > I’ve created a QVector of QImages and tried to insert an image in the > vector: QVector images; > images.insert(images.begin(), QImage()); > > I got a compiler warning saying > > "qvector.h:649:21: warning: destination for this 'm

[Development] Is QImage movable

2015-05-23 Thread Иван Комиссаров
Hi. I’ve created a QVector of QImages and tried to insert an image in the vector: QVector images; images.insert(images.begin(), QImage()); I got a compiler warning saying "qvector.h:649:21: warning: destination for this 'memmove' call is a pointer to dynamic class 'QImage'; vtable pointer will