nits / cleanups
This commit is contained in:
parent
3a80d1e1b3
commit
09a9b7565e
2 changed files with 1 additions and 4 deletions
|
@ -16,7 +16,7 @@ static std::string join(Iterator begin, Iterator end, const std::string & separa
|
|||
|
||||
static std::string repeat(const std::string & str, size_t n);
|
||||
|
||||
static std::string build_repetition(const std::string & item_rule, const int min_items, int max_items, const std::string & separator_rule = "") {
|
||||
static std::string build_repetition(const std::string & item_rule, int min_items, int max_items, const std::string & separator_rule = "") {
|
||||
auto has_max = max_items != std::numeric_limits<int>::max();
|
||||
|
||||
if (min_items == 0 && max_items == 1) {
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
#include <cassert>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <json-schema-to-grammar.h>
|
||||
|
||||
using json = nlohmann::ordered_json;
|
||||
|
||||
using json = nlohmann::ordered_json;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue