Skip to content

Commit 8fac8ca

Browse files
authored
Remove unused AlterSchema rule helpers (#1831)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent 4c56090 commit 8fac8ca

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/extension/alterschema/alterschema.cc

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@ contains_any(const Vocabularies &container,
1616
});
1717
}
1818

19-
template <typename T>
20-
static auto every_item_is_null(const T &container) -> bool {
21-
return std::all_of(std::cbegin(container), std::cend(container),
22-
[](const auto &element) { return element.is_null(); });
23-
}
24-
25-
template <typename T>
26-
static auto every_item_is_boolean(const T &container) -> bool {
27-
return std::all_of(std::cbegin(container), std::cend(container),
28-
[](const auto &element) { return element.is_boolean(); });
29-
}
30-
3119
// Canonicalizer
3220
#include "canonicalizer/boolean_true.h"
3321
#include "canonicalizer/const_as_enum.h"

0 commit comments

Comments
 (0)