Merge pull request #13929 from jhheider/explicit-copy-init

Fixes minor compilation errors with some clangs
This commit is contained in:
Kamil Śliwak authored and GitHub committed 2023-02-05 01:48:08 +01:00
commit f2bf23a067
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ void DocumentHoverHandler::operator()(MessageID _id, Json::Value const& _args)
auto const [sourceUnitName, lineColumn] = HandlerBase(*this).extractSourceUnitNameAndLineColumn(_args);
auto const [sourceNode, sourceOffset] = m_server.astNodeAndOffsetAtSourceLocation(sourceUnitName, lineColumn);
MarkdownBuilder markdown{};
MarkdownBuilder markdown;
auto rangeToHighlight = toRange(sourceNode->location());
// Try getting the type definition of the underlying AST node, if available.