Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
20
libs/search/base/text_index/text_index.cpp
Normal file
20
libs/search/base/text_index/text_index.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "search/base/text_index/text_index.hpp"
|
||||
|
||||
#include "base/assert.hpp"
|
||||
#include "base/string_utils.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace search_base
|
||||
{
|
||||
string DebugPrint(TextIndexVersion const & version)
|
||||
{
|
||||
switch (version)
|
||||
{
|
||||
case TextIndexVersion::V0: return "V0";
|
||||
}
|
||||
string ret = "Unknown TextIndexHeader version: " + strings::to_string(static_cast<uint8_t>(version));
|
||||
ASSERT(false, (ret));
|
||||
return ret;
|
||||
}
|
||||
} // namespace search_base
|
||||
Loading…
Add table
Add a link
Reference in a new issue