trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] 2nd Patch [was Re: [trinity-devel] k3b -bug ('K3bAudioEditorWidget::Range* r' previously declared here)]

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 18 Apr 2012 16:51:00 -0500
On 04/18/2012 04:34 PM, Nix wrote:
> On 18 Apr 2012, E. Liddell stated:
>
>> On Wed, 18 Apr 2012 15:52:26 -0500
>> "David C. Rankin"<drankinatty@...>  wrote:
>>>     Range* r = findRangeEdge( e->pos(),&end );
>>>     m_draggedRange = 0;
>>>     m_draggedMarker = 0;
>>>     bool end;
> [...]
>> Are you sure that compiles?  I would have assumed end needed to be declared before
>> using a reference to it as an argument to findRangeEdge(), which was why I put things
>> in the order that I did.  Or maybe I'm wrong.
>
> Nope, you're right, that's the rule.
>

OK that's why I asked... fixed

attached..

-- 
David C. Rankin, J.D.,P.E.

Attachments: