mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-07 13:03:54 +00:00
committed by
Konstantin Pastbin
parent
c9cbb64f12
commit
76ffc99abd
21
libs/search/base/text_index/text_index.cpp
Normal file
21
libs/search/base/text_index/text_index.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user