Skip to content

Commit

Permalink
use referential_prefix instead of schedule_prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
patochectp committed Aug 27, 2021
1 parent e9cba17 commit 9c33f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ impl AddPrefix for StopPoint {
self.address_id = self
.address_id
.take()
.map(|id| prefix_conf.schedule_prefix(id.as_str()));
.map(|id| prefix_conf.referential_prefix(id.as_str()));
}
}
impl_codes!(StopPoint);
Expand Down Expand Up @@ -1905,7 +1905,7 @@ impl_id!(Address);

impl AddPrefix for Address {
fn prefix(&mut self, prefix_conf: &PrefixConfiguration) {
self.id = prefix_conf.schedule_prefix(self.id.as_str());
self.id = prefix_conf.referential_prefix(self.id.as_str());
}
}

Expand Down

0 comments on commit 9c33f76

Please sign in to comment.