Skip to content

Commit

Permalink
Cleanup vestigial function (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockwotj authored Feb 8, 2018
1 parent 322a6e8 commit bcbb4ad
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions firebase_rules_generator/generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,6 @@ std::vector<std::vector<std::string>> AllFieldCombinations(
return combos;
}

std::vector<std::string> AllOtherFields(
const std::vector<std::string> &all_fields, const std::string &exclusion) {
std::vector<std::string> fields;
for (const auto &field : all_fields) {
if (field != exclusion) {
fields.push_back(field);
}
}
return fields;
}

template <typename S>
bool IsLastIteration(S idx, S size) {
return idx + 1 >= size;
Expand Down

0 comments on commit bcbb4ad

Please sign in to comment.