Skip to content

Commit

Permalink
Fixed warning for clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Duta-Sebastian committed Dec 3, 2024
1 parent da6a1cf commit 677f2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Database::Database() {
if (!connection->is_open()) {
throw FailedToOpen("Database exists but a connection couldn't be established");
}
} catch (const FailedToOpen) {
} catch (const FailedToOpen& ) {
connection = nullptr;
throw;
}
Expand Down

0 comments on commit 677f2db

Please sign in to comment.