forked from qt-creator/qt-creator
use new id comparison operators to reduce line noise and save cycles
Change-Id: I2e7d81a4efb75877901d29964df4f71314e951b4 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -42,7 +42,7 @@ using namespace CppTools;
|
||||
// ---------------------------
|
||||
bool CppCompletionAssistProvider::supportsEditor(const Core::Id &editorId) const
|
||||
{
|
||||
return editorId == Core::Id(CppEditor::Constants::CPPEDITOR_ID);
|
||||
return editorId == CppEditor::Constants::CPPEDITOR_ID;
|
||||
}
|
||||
|
||||
int CppCompletionAssistProvider::activationCharSequenceLength() const
|
||||
|
||||
Reference in New Issue
Block a user