fix: include shared_mutex header

This commit is contained in:
2026-06-21 19:45:55 +08:00
parent 4c4cc515a4
commit 35f0271fd4
2 changed files with 4 additions and 0 deletions

View File

@@ -1,7 +1,9 @@
#pragma once #pragma once
#include "Cubed/gameplay/cave_path.hpp" #include "Cubed/gameplay/cave_path.hpp"
#include <shared_mutex>
#include <tbb/concurrent_hash_map.h> #include <tbb/concurrent_hash_map.h>
namespace Cubed { namespace Cubed {
class CaveCarver { class CaveCarver {
using CaveHashMap = tbb::concurrent_hash_map<unsigned, CavePath>; using CaveHashMap = tbb::concurrent_hash_map<unsigned, CavePath>;

View File

@@ -4,7 +4,9 @@
#include "Cubed/tools/cubed_random.hpp" #include "Cubed/tools/cubed_random.hpp"
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include <shared_mutex>
#include <tbb/concurrent_hash_map.h> #include <tbb/concurrent_hash_map.h>
namespace Cubed { namespace Cubed {
class RiverWorm { class RiverWorm {