Skip to content

Commit

Permalink
fix compile error when using old libc++ (e.g. from macOS 12 SDK)
Browse files Browse the repository at this point in the history
  • Loading branch information
atafra committed Jun 20, 2024
1 parent d94147f commit e5e52d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include "module.h"
#include "device_factory.h"
#include <mutex>
#include <unordered_set>
#include <unordered_map>
#include <set>
#include <map>

OIDN_NAMESPACE_BEGIN

Expand Down Expand Up @@ -116,9 +116,9 @@ OIDN_NAMESPACE_BEGIN

std::mutex mutex;
bool fullyInited = false;
std::unordered_set<DeviceType> initedDeviceTypes;
std::set<DeviceType> initedDeviceTypes;
ModuleLoader modules;
std::unordered_map<DeviceType, std::unique_ptr<DeviceFactory>> deviceFactories;
std::map<DeviceType, std::unique_ptr<DeviceFactory>> deviceFactories;
std::vector<Ref<PhysicalDevice>> physicalDevices;
};

Expand Down

0 comments on commit e5e52d3

Please sign in to comment.