forked from OSchip/llvm-project
Fix an implicit conversion in clang-tidy. GCC 5 complains about it.
This commit is contained in:
parent
ac21535460
commit
0ee4b027d3
|
@ -174,7 +174,8 @@ public:
|
|||
return DiagLevelAndFormatString(
|
||||
static_cast<DiagnosticIDs::Level>(
|
||||
DiagEngine->getDiagnosticLevel(DiagnosticID, Loc)),
|
||||
DiagEngine->getDiagnosticIDs()->getDescription(DiagnosticID));
|
||||
std::string(
|
||||
DiagEngine->getDiagnosticIDs()->getDescription(DiagnosticID)));
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue