diff options
Diffstat (limited to 'src/index.cc')
-rw-r--r-- | src/index.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.cc b/src/index.cc index c8dc6de..b22ae05 100644 --- a/src/index.cc +++ b/src/index.cc @@ -5,7 +5,6 @@ #include <algorithm> - namespace dictzip { IndexFile::Entry parse_from_line(const std::string& line) { @@ -13,8 +12,11 @@ IndexFile::Entry parse_from_line(const std::string& line) { const std::size_t end = line.find_last_of('\t'); return IndexFile::Entry( + // word line.substr(0, start), + // offset base64_decode(line.substr(start + 1, end - (start + 1))), + // length base64_decode(line.substr(end + 1))); } |