修复macos编译

This commit is contained in:
2024-03-25 06:17:04 +08:00
parent 00d6b5fb69
commit 19c2b0fe2b
7 changed files with 15 additions and 6 deletions

View File

@@ -1,7 +1,9 @@
#include "singleton_manager.h"
#include <cstdint>
#ifdef __APPLE__
#include <__algorithm/ranges_find.h>
#endif
#include "singleton.h"
bool singleton_initliazer::has_init(singleton* s) {