diff --git a/src/llama-vocab.cpp b/src/llama-vocab.cpp index ee056dabd..781ee05c6 100644 --- a/src/llama-vocab.cpp +++ b/src/llama-vocab.cpp @@ -322,7 +322,7 @@ private: // TODO: there are a lot of common parts between spm and bpe tokenizers, should be refactored and reused template, typename Compare = std::less> -class MovablePriorityQueue : public std::priority_queue { +class lama_priority_queue : public std::priority_queue { public: using std::priority_queue::priority_queue; @@ -344,7 +344,7 @@ struct llm_bigram_bpe { }; using queue_storage = std::vector; - using queue = MovablePriorityQueue; + using queue = lama_priority_queue; llm_symbol::index left; llm_symbol::index right; std::string text;