Skip to content

Commit ed1d005

Browse files
author
Michael Penick
committed
CPP-872 Fix GCC 9.2+ build
1 parent a183009 commit ed1d005

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/wkt.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ class WktLexer {
4343
, end_(other.end_)
4444
, skip_number_(skip_number) {}
4545

46+
WktLexer& operator=(const WktLexer& other) {
47+
position_ = other.position_;
48+
end_ = other.end_;
49+
skip_number_ = other.skip_number_;
50+
return *this;
51+
}
52+
4653
double number() const { return number_; }
4754

4855
Token next_token();

0 commit comments

Comments
 (0)