aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching/termdataextractor_test.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-14 06:42:52 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:23 +0000
commit9534d9ef4d74017ff4ef0849924f751403979cbb (patch)
tree54bfac4a2cb6d39e64eb8ee920ac12307d6a0100 /searchcore/src/tests/proton/matching/termdataextractor_test.cpp
parent909c3b8f302cbe615d38139d202e809c9f6079a4 (diff)
finish rewrite to use GeoLocation
Diffstat (limited to 'searchcore/src/tests/proton/matching/termdataextractor_test.cpp')
-rw-r--r--searchcore/src/tests/proton/matching/termdataextractor_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/termdataextractor_test.cpp b/searchcore/src/tests/proton/matching/termdataextractor_test.cpp
index 2570e64dbe2..36c34e38a04 100644
--- a/searchcore/src/tests/proton/matching/termdataextractor_test.cpp
+++ b/searchcore/src/tests/proton/matching/termdataextractor_test.cpp
@@ -83,7 +83,7 @@ Node::UP getQuery(const ViewResolver &resolver)
query_builder.addStringTerm("bar", field, id[3], Weight(0));
}
- query_builder.addLocationTerm(Location(Point(10, 10), 3, 0),
+ query_builder.addLocationTerm(Location(Point{10, 10}, 3, 0),
field, id[7], Weight(0));
Node::UP node = query_builder.build();