diff options
author | Geir Storli <geirst@yahoo-inc.com> | 2017-04-04 19:23:13 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahoo-inc.com> | 2017-04-05 07:49:16 +0000 |
commit | ae812c64492160223a0a3e674f38c2d5a59c2663 (patch) | |
tree | 75835e5e0e833a9c7cc3e2d4a853a489d5aaa202 /searchlib/src/tests/diskindex/bitvector/bitvector_test.cpp | |
parent | d8b05c79c106204ee76726aff4d3f0cb84d8fc99 (diff) |
Change schema::DataType and schema::CollectionType to enum class.
Diffstat (limited to 'searchlib/src/tests/diskindex/bitvector/bitvector_test.cpp')
-rw-r--r-- | searchlib/src/tests/diskindex/bitvector/bitvector_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchlib/src/tests/diskindex/bitvector/bitvector_test.cpp b/searchlib/src/tests/diskindex/bitvector/bitvector_test.cpp index 33800480492..76f3597bda3 100644 --- a/searchlib/src/tests/diskindex/bitvector/bitvector_test.cpp +++ b/searchlib/src/tests/diskindex/bitvector/bitvector_test.cpp @@ -9,6 +9,7 @@ LOG_SETUP("bitvector_test"); #include <vespa/vespalib/io/fileutil.h> using namespace search::index; +using search::index::schema::DataType; namespace search { namespace diskindex { @@ -191,7 +192,7 @@ Test::Test() : _schema(), _indexId(0) { - _schema.addIndexField(Schema::IndexField("f1", schema::STRING)); + _schema.addIndexField(Schema::IndexField("f1", DataType::STRING)); } int |