diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-07 03:59:58 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-07 03:59:58 +0800 |
| commit | 598f364de0a809747714294326a0193788e0bdfb (patch) | |
| tree | 1ab77a340ab0930b41ffc6291d06b12d1b302a88 /proofsearch/include/atp/core/literal.h | |
| parent | 593a94a3c13aff82b31fd6c61e0ae07b97a2e426 (diff) | |
| download | rcc-project-598f364de0a809747714294326a0193788e0bdfb.tar.gz rcc-project-598f364de0a809747714294326a0193788e0bdfb.tar.xz | |
refactor: rename struct members to follow trailing underscore naming convention across core, search, and frontend components
Diffstat (limited to 'proofsearch/include/atp/core/literal.h')
| -rw-r--r-- | proofsearch/include/atp/core/literal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/proofsearch/include/atp/core/literal.h b/proofsearch/include/atp/core/literal.h index 212c281..e58b185 100644 --- a/proofsearch/include/atp/core/literal.h +++ b/proofsearch/include/atp/core/literal.h @@ -27,11 +27,11 @@ namespace atp { /// A literal: a polarity flag plus the TermId of the atom. struct Literal { - TermId atom; ///< TermId of the predicate application - bool is_positive; ///< true = positive, false = negated + TermId atom_; ///< TermId of the predicate application + bool is_positive_; ///< true = positive, false = negated /// Complement: flip polarity, same atom. - [[nodiscard]] Literal complement() const { return {.atom = atom, .is_positive = !is_positive}; } + [[nodiscard]] Literal complement() const { return {.atom_ = atom_, .is_positive_ = !is_positive_}; } bool operator==(const Literal& other) const = default; }; |
