Review Request 111347: Fix overloaded-virtual of computeCompletions.

Ben Wagner bungeman at gmail.com
Mon Jul 1 16:20:13 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111347/
-----------------------------------------------------------

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.


Thanks,

Ben Wagner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130701/d8a20c58/attachment.html>


More information about the KDevelop-devel mailing list