Skip to content

Commit 88381b4

Browse files
committed
Fix coding style
1 parent ecb9826 commit 88381b4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

plugins/cpp/service/src/cppservice.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,13 +1615,14 @@ CppServiceHandler::getTags(const std::vector<model::CppAstNode>& nodes_)
16151615

16161616
FuncResult funcNodes = _db->query<cc::model::CppFunction>(
16171617
FuncQuery::entityHash == defNode.entityHash);
1618-
if(!funcNodes.empty())
1618+
if (!funcNodes.empty())
16191619
{
16201620
const model::CppFunction& funcNode = *funcNodes.begin();
16211621

16221622
for (const model::Tag& tag : funcNode.tags)
16231623
tags[node.id].push_back(model::tagToString(tag));
1624-
} else
1624+
}
1625+
else
16251626
LOG(warning) << "Database query result was not expected to be empty. "
16261627
<< __FILE__ << ", line #" << __LINE__;
16271628

0 commit comments

Comments
 (0)