From 987984bf3745622175c28826cdf19786e4822a99 Mon Sep 17 00:00:00 2001 From: Michael Reichert Date: Tue, 14 May 2024 14:58:01 +0200 Subject: [PATCH] Fix copy constructor to copy tags as well --- core/src/main/java/com/graphhopper/reader/ReaderWay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/graphhopper/reader/ReaderWay.java b/core/src/main/java/com/graphhopper/reader/ReaderWay.java index 5c99e0c2023..a8638739b74 100644 --- a/core/src/main/java/com/graphhopper/reader/ReaderWay.java +++ b/core/src/main/java/com/graphhopper/reader/ReaderWay.java @@ -33,7 +33,7 @@ public ReaderWay(long id) { } public ReaderWay(ReaderWay other) { - super(other.getId(), other.getType()); + super(other.getId(), other.getType(), other.getTags()); this.nodes = other.getNodes(); }