Skip to content

Commit bd77f52

Browse files
committed
Manual ClangFormat fixes
Can't just run ClangFormat in VS as that makes further changes unrelated to the code changes.
1 parent 7376829 commit bd77f52

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

inkcpp/globals_impl.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ globals_impl::globals_impl(const story_impl* story)
3232

3333
void globals_impl::visit(uint32_t container_id)
3434
{
35-
_visit_counts.set(
36-
container_id, {_visit_counts[container_id].visits + 1, 0}
37-
);
35+
_visit_counts.set(container_id, {_visit_counts[container_id].visits + 1, 0});
3836
}
3937

4038
uint32_t globals_impl::visits(uint32_t container_id) const

inkcpp/runner_impl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ bool runner_impl::move_to(hash_t path)
835835
// Clear state and move to destination
836836
reset();
837837
_ptr = _story->instructions();
838-
const bool record_visits = false;
838+
const bool record_visits = false;
839839
const bool track_knot_visit = false;
840840
jump(destination, record_visits, track_knot_visit);
841841

@@ -1256,8 +1256,8 @@ void runner_impl::step()
12561256
const bool record_visits = true;
12571257
const bool track_knot_visit = ! (flag & CommandFlag::DIVERT_HAS_CONDITION);
12581258
jump(
1259-
_story->instructions() + val->get<value_type::divert>(),
1260-
record_visits, track_knot_visit
1259+
_story->instructions() + val->get<value_type::divert>(), record_visits,
1260+
track_knot_visit
12611261
);
12621262
inkAssert(_ptr < _story->end(), "Diverted past end of story data!");
12631263
} break;

0 commit comments

Comments
 (0)