Skip to content

Commit

Permalink
Corrects test for ::tracks_differ.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHarte committed Jul 20, 2020
1 parent 47f121e commit 84dd194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Storage/Disk/DiskImage/DiskImage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class DiskImage {
@returns @c true if the tracks at the two addresses are different. @c false if they are the same track.
This can avoid some degree of work when disk images offer sub-head-position precision.
*/
virtual bool tracks_differ(Track::Address lhs, Track::Address rhs) { return lhs == rhs; }
virtual bool tracks_differ(Track::Address lhs, Track::Address rhs) { return lhs != rhs; }
};

class DiskImageHolderBase: public Disk {
Expand Down

0 comments on commit 84dd194

Please sign in to comment.