diff --git a/src/objects.rs b/src/objects.rs index 0bf0cb3f6..9248236b9 100644 --- a/src/objects.rs +++ b/src/objects.rs @@ -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); @@ -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()); } }