1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Fix typo.

This commit is contained in:
Thomas Harte 2023-10-05 22:29:15 -04:00
parent 6d392852d2
commit 90a8999b4b

View File

@ -626,7 +626,7 @@ class DataPointer {
} }
constexpr Source segment(Source segment_override) const { constexpr Source segment(Source segment_override) const {
// TODO: remove conditionaluty here. // TODO: remove conditionality here.
if(segment_override != Source::None) return segment_override; if(segment_override != Source::None) return segment_override;
if(const auto segment = default_segment(); segment != Source::None) return segment; if(const auto segment = default_segment(); segment != Source::None) return segment;
return Source::DS; return Source::DS;