Skip to content

Commit 1ce6674

Browse files
committed
fix: give up using isEmpty, as per PR cppalliance#965 comments
1 parent c08af84 commit 1ce6674

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

share/mrdocs/addons/generator/common/partials/symbol/signature/record.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
declaration). Similarly, don't show a semicolon if there are base
2626
classes. --}}
2727
{{~#isSeeBelow}} { /* see-below */ }{{/isSeeBelow~}}
28-
{{#if (or isSeeBelow (and (not isFinal) (isEmpty bases)))}};{{/if}}
28+
{{#if (or isSeeBelow (and (not isFinal) (eq (len bases) 0)))}};{{/if}}

src/lib/Support/Handlebars.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3814,7 +3814,6 @@ registerBuiltinHelpers(Handlebars& hbs)
38143814
hbs.registerHelper("log", dom::makeVariadicInvocable(log_fn));
38153815
hbs.registerHelper("helperMissing", dom::makeVariadicInvocable(helper_missing_fn));
38163816
hbs.registerHelper("blockHelperMissing", dom::makeInvocable(block_helper_missing_fn));
3817-
hbs.registerHelper("isEmpty", dom::makeVariadicInvocable(is_empty_fn));
38183817
}
38193818

38203819
void

0 commit comments

Comments
 (0)