Skip to content

Commit 8c41b1b

Browse files
committed
Fix incorrect comments in term builder header
1 parent 2ea03ac commit 8c41b1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

distr/flecs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32657,12 +32657,12 @@ struct term_builder_i : term_ref_builder_i<Base> {
3265732657
return this->oper(flecs::Or);
3265832658
}
3265932659

32660-
/* Short for oper(flecs::Or) */
32660+
/* Short for oper(flecs::Not) */
3266132661
Base& not_() {
3266232662
return this->oper(flecs::Not);
3266332663
}
3266432664

32665-
/* Short for oper(flecs::Or) */
32665+
/* Short for oper(flecs::Optional) */
3266632666
Base& optional() {
3266732667
return this->oper(flecs::Optional);
3266832668
}

include/flecs/addons/cpp/mixins/term/builder_i.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,12 @@ struct term_builder_i : term_ref_builder_i<Base> {
361361
return this->oper(flecs::Or);
362362
}
363363

364-
/* Short for oper(flecs::Or) */
364+
/* Short for oper(flecs::Not) */
365365
Base& not_() {
366366
return this->oper(flecs::Not);
367367
}
368368

369-
/* Short for oper(flecs::Or) */
369+
/* Short for oper(flecs::Optional) */
370370
Base& optional() {
371371
return this->oper(flecs::Optional);
372372
}

0 commit comments

Comments
 (0)