Skip to content

Commit

Permalink
avoid ambiguous call
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 17, 2022
1 parent 89a087b commit cc9327a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tom/src/tom/concerns/usingconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int UsingConnection::usingConnectionsInternal(
auto first = true;

if (names.isEmpty())
names = {m_connectionResolver->getDefaultConnection()};
names << m_connectionResolver->getDefaultConnection();

for (auto &&name : names) {
// Visually divide individual connections
Expand Down

0 comments on commit cc9327a

Please sign in to comment.