Review Request 111347: Fix overloaded-virtual of computeCompletions.
Milian Wolff
mail at milianw.de
Mon Jul 1 17:39:38 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111347/#review35381
-----------------------------------------------------------
Ship it!
Sounds good (but I doubt this actually fixes any crashes).
And to anyone: Feel free to "fixup" the interface in master to make the QString a const&.
- Milian Wolff
On July 1, 2013, 4:22 p.m., Ben Wagner wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111347/
> -----------------------------------------------------------
>
> (Updated July 1, 2013, 4:22 p.m.)
>
>
> Review request for KDevelop.
>
>
> Description
> -------
>
> MissingIncludeCompletionWorker::computeCompletions causes an overloaded-virtual warning when building kdevelop. Upon investigation, it appears that it was intended to override CodeCompletionWorker::computeCompletions, but the third parameter is incorrect.
>
> KDevelop was crashing left and right and with this change seems a bit more stable.
>
>
> Diffs
> -----
>
> languages/cpp/codecompletion/missingincludemodel.h 7c5673e
> languages/cpp/codecompletion/missingincludemodel.cpp 346e8a1
>
> Diff: http://git.reviewboard.kde.org/r/111347/diff/
>
>
> Testing
> -------
>
> Built, ran. Verified that this overloaded-virtual warning no longer occurs.
>
>
> File Attachments
> ----------------
>
> git format-patch
> http://git.reviewboard.kde.org/media/uploaded/files/2013/07/01/0001-Fix-overloaded-virtual-of-computeCompletions.patch
>
>
> Thanks,
>
> Ben Wagner
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130701/8ca5642d/attachment.html>
More information about the KDevelop-devel
mailing list