[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: khtml - render_text: Q3PtrVector->QVector
From: Maks Orlovich <mo85 () cornell ! edu>
Date: 2006-06-29 23:53:03
Message-ID: 200606291953.03429.mo85 () cornell ! edu
[Download RAW message or body]
On Tuesday 27 June 2006 16:29, Peter Kümmel wrote:
> I get a strange linker error when compiling
> khtml with msvc: it could not find Q3GVector::at,
> even though this function is an inline function.
> Maybe this is because of the debug mode, but trying
> to force the inlining doesn't work.
>
> Before fiddling around with this Q3Support code
> I've used QVector instead, which solves the linker
> error.
>
> Is it possible to apply the attached patch?
This patch is wrong. Q3PtrVector has very different semantics from QVector in
many functions, in particular count()/size() and insert() (which in
QPtrVector behaves more like replace).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic