chore(CI): add macos-12 (#11242)

* chore(CI): add macos-12

* Update SECURITY.md

* test changing googletest git_tag to main

* update utf8cpp

* Update DBCStorageIterator.h

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
Patrick Lewis
2022-04-30 22:00:40 -07:00
committed by GitHub
parent bbd760cc1a
commit 94123e60f6
9 changed files with 340 additions and 63 deletions

View File

@@ -22,9 +22,15 @@
#include <iterator>
template <class T>
class DBCStorageIterator : public std::iterator<std::forward_iterator_tag, T>
class DBCStorageIterator
{
public:
using iterator_category = std::forward_iterator_tag;
using value_type = T;
using difference_type = std::ptrdiff_t;
using pointer = T*;
using reference = T&;
DBCStorageIterator() : _index(nullptr) { }
DBCStorageIterator(T** index, uint32 size, uint32 pos = 0) : _index(index), _pos(pos), _end(size)
{