summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/phrase_large_table.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/storage/phrase_large_table.cpp b/src/storage/phrase_large_table.cpp
index b8f3328..131a19a 100644
--- a/src/storage/phrase_large_table.cpp
+++ b/src/storage/phrase_large_table.cpp
@@ -40,11 +40,11 @@ public:
bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end);
/* search/add_index/remove_index method */
- int search( int phrase_length, /* in */ utf16_t phrase[],
+ int search( int phrase_length, /* in */ ucs4_t phrase[],
/* out */ phrase_token_t & token);
- int add_index( int phrase_length, /* in */ utf16_t phrase[], /* in */ phrase_token_t token);
- int remove_index( int phrase_length, /* in */ utf16_t phrase[], /* out */ phrase_token_t & token);
+ int add_index( int phrase_length, /* in */ ucs4_t phrase[], /* in */ phrase_token_t token);
+ int remove_index( int phrase_length, /* in */ ucs4_t phrase[], /* out */ phrase_token_t & token);
};
template<size_t phrase_length>
@@ -56,11 +56,11 @@ public:
bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end);
/* search/add_index/remove_index method */
- int search( /* in */ utf16_t phrase[],
+ int search( /* in */ ucs4_t phrase[],
/* out */ phrase_token_t & token);
- int add_index(/* in */ utf16_t phrase[], /* in */ phrase_token_t token);
- int remove_index(/* in */ utf16_t phrase[], /* out */ phrase_token_t & token);
+ int add_index(/* in */ ucs4_t phrase[], /* in */ phrase_token_t token);
+ int remove_index(/* in */ ucs4_t phrase[], /* out */ phrase_token_t & token);
};
};
@@ -137,7 +137,7 @@ PhraseLengthIndexLevel::~PhraseLengthIndexLevel(){
for ( size_t i = 0 ; i < m_phrase_array_indexes->len; ++i){
switch (i){
CASE(0);
- CASE(1);
+ CASE(1);
CASE(2);
CASE(3);
CASE(4);