diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-03-16 12:46:57 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-03-16 12:46:57 +0000 |
commit | 7fd2d7d18d88a1decb3ec4c1b74eb93f5659ec0c (patch) | |
tree | 9d7fb16b8816e1d2d0c7b8da152dec672f128d99 /searchlib/src/tests/features/nns_distance/nns_distance_test.cpp | |
parent | 707e76eceb19459afb0750d970a4947974db1211 (diff) |
review follow-up
Diffstat (limited to 'searchlib/src/tests/features/nns_distance/nns_distance_test.cpp')
-rw-r--r-- | searchlib/src/tests/features/nns_distance/nns_distance_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/features/nns_distance/nns_distance_test.cpp b/searchlib/src/tests/features/nns_distance/nns_distance_test.cpp index 6188aa8617c..ea864f9b7a0 100644 --- a/searchlib/src/tests/features/nns_distance/nns_distance_test.cpp +++ b/searchlib/src/tests/features/nns_distance/nns_distance_test.cpp @@ -1,4 +1,4 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/searchlib/features/setup.h> @@ -131,7 +131,7 @@ TEST_FFF("require that no features are dumped", DistanceBlueprint, IndexFixture, TEST_FF("require that setup can be done on random label", DistanceBlueprint, IndexFixture) { DummyDependencyHandler deps(f1); f1.setName(vespalib::make_string("%s(random_label)", f1.getBaseName().c_str())); - EXPECT_TRUE(((Blueprint&)f1).setup(f2.indexEnv, std::vector<vespalib::string>(1, "random_label"))); + EXPECT_TRUE(static_cast<Blueprint&>(f1).setup(f2.indexEnv, std::vector<vespalib::string>(1, "random_label"))); } TEST_FF("require that no label gives max-double distance", NoLabel(), RankFixture(2, 2, f1, labelFeatureName)) { |