diff options
author | Geir Storli <geirst@yahoo-inc.com> | 2017-04-03 11:38:27 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahoo-inc.com> | 2017-04-04 19:24:55 +0000 |
commit | 3948d63b4d7a64fb964f052df4dfcb87845bd364 (patch) | |
tree | 499cdf823b0004130b6b418cecff8df776383c2d /searchlib/src/tests/features/prod_features_attributematch.cpp | |
parent | e9c418d113cee3075d07279f3589fa6a144e593b (diff) |
Use CollectionType defined in search::index::schema for search::fef::FieldInfo.
This is the same as done with DataType.
Diffstat (limited to 'searchlib/src/tests/features/prod_features_attributematch.cpp')
-rw-r--r-- | searchlib/src/tests/features/prod_features_attributematch.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/searchlib/src/tests/features/prod_features_attributematch.cpp b/searchlib/src/tests/features/prod_features_attributematch.cpp index 7ccfd1dea1a..724b8171b4e 100644 --- a/searchlib/src/tests/features/prod_features_attributematch.cpp +++ b/searchlib/src/tests/features/prod_features_attributematch.cpp @@ -13,13 +13,12 @@ using namespace search::fef::test; using search::AttributeVector; using search::AttributeFactory; +using AttributePtr = AttributeVector::SP; -typedef AttributeVector::SP AttributePtr; - -typedef search::attribute::Config AVC; -typedef search::attribute::BasicType AVBT; -typedef search::attribute::CollectionType AVCT; - +using AVC = search::attribute::Config; +using AVBT = search::attribute::BasicType; +using AVCT = search::attribute::CollectionType; +using CollectionType = FieldInfo::CollectionType; void Test::testAttributeMatch() |