Skip to content

Commit

Permalink
Fix copy constructor to copy tags as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakaner committed May 14, 2024
1 parent 783f944 commit 987984b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/com/graphhopper/reader/ReaderWay.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 987984b

Please sign in to comment.