Skip to content

Commit

Permalink
Fix an out-of-range error
Browse files Browse the repository at this point in the history
  • Loading branch information
Toasterbirb committed Sep 29, 2023
1 parent 2a588c0 commit 1c285c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/birb_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ int main(int argc, char** argv)
db_entry = birb::split_string(p, ";");

/* Skip packages that aren't in the pkg repo */
if (repo_data.at(db_entry.at(0)).empty())
if (!repo_data.contains(db_entry.at(0)))
continue;

/* Compare the versions */
Expand Down

0 comments on commit 1c285c7

Please sign in to comment.