Fix compilation

This commit is contained in:
chrchr 2023-06-07 18:09:35 +02:00
parent 68a59830a4
commit 55a279fade
1 changed files with 5 additions and 6 deletions

View File

@ -8166,12 +8166,11 @@ private:
vector.startPattern2 = "Vector !!::";
vector.type_templateArgNo = 0;
vector.arrayLike_indexOp = true;
vector.functions["front"] =
Library::Container::Function{Library::Container::Action::NO_ACTION, Library::Container::Yield::ITEM};
vector.functions["data"] =
Library::Container::Function{Library::Container::Action::NO_ACTION, Library::Container::Yield::BUFFER};
vector.functions["begin"] = Library::Container::Function{Library::Container::Action::NO_ACTION,
Library::Container::Yield::START_ITERATOR};
using Action = Library::Container::Action;
using Yield = Library::Container::Yield;
vector.functions["front"] = Library::Container::Function{ Action::NO_ACTION, Yield::ITEM, "" };
vector.functions["data"] = Library::Container::Function{ Action::NO_ACTION, Yield::BUFFER, "" };
vector.functions["begin"] = Library::Container::Function{ Action::NO_ACTION, Yield::START_ITERATOR, "" };
set.library.containers["Vector"] = vector;
Library::Container string;
string.startPattern = "test :: string";