2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 04:27:42 +00:00

Update macOS build instructions

This commit is contained in:
2020-05-24 12:03:33 -04:00
parent 6dced1814f
commit e1cd1278f6
6 changed files with 15 additions and 13 deletions

View File

@@ -35,8 +35,8 @@ public:
using difference_type = std::ptrdiff_t;
using pointer = T*;
using reference = T&;
// atdna workaround
#if __cplusplus > 201703L
// atdna / Apple Clang workaround
#if __cplusplus > 201703L && !defined(__APPLE__)
using iterator_category = std::contiguous_iterator_tag;
#else
using iterator_category = std::random_access_iterator_tag;