Clang: Fix warning in switch()

clangjobrequest.cpp:176:12: warning: enumeration value ‘RequestToolTip’
  not handled in switch [-Wswitch]

Change-Id: I09080548ba45ef99bc0c9e08b06d2ea3268b5662
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Nikolai Kosjar
2018-01-19 15:58:02 +01:00
parent 764925eb3a
commit cf94a15379

View File

@@ -178,6 +178,7 @@ bool JobRequest::isTakeOverable() const
case Type::CompleteCode:
case Type::RequestReferences:
case Type::FollowSymbol:
case Type::RequestToolTip:
return true;
// Discard this one as UpdateDocumentAnnotations will have the same effect.