diff options
Diffstat (limited to 'searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp')
-rw-r--r-- | searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp b/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp index 073a5d2884d..a5d950c0f31 100644 --- a/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp +++ b/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp @@ -570,10 +570,10 @@ ShowPostingListSubApp::showPostingList() offsetAndCounts._counts._bitLength, offsetAndCounts._counts._numDocs); } - typedef PostingListCounts Counts; - typedef PostingListHandle Handle; - typedef std::pair<Counts, Handle> CH; - typedef std::unique_ptr<CH> CHAP; + using Counts = PostingListCounts; + using Handle = PostingListHandle; + using CH = std::pair<Counts, Handle>; + using CHAP = std::unique_ptr<CH>; CHAP handle(new CH); handle->first = offsetAndCounts._counts; handle->second._bitOffset = offsetAndCounts._offset; |