mirror of
https://github.com/thunderbrewhq/common.git
synced 2025-12-12 11:12:29 +00:00
fix(common): <bc/Memory.hpp>, not <storm/Memory.hpp>
This commit is contained in:
parent
9039ff45c5
commit
755157cb5a
9 changed files with 10 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#include "common/Prop.hpp"
|
#include "common/Prop.hpp"
|
||||||
#include "common/Thread.hpp"
|
#include "common/Thread.hpp"
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
|
|
||||||
namespace Prop {
|
namespace Prop {
|
||||||
uint32_t s_tlsIndex;
|
uint32_t s_tlsIndex;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <storm/Array.hpp>
|
#include <storm/Array.hpp>
|
||||||
#include <storm/List.hpp>
|
#include <storm/List.hpp>
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
class CSimpleSortedArray {
|
class CSimpleSortedArray {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <storm/Error.hpp>
|
#include <storm/Error.hpp>
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
#include <storm/String.hpp>
|
#include <storm/String.hpp>
|
||||||
|
|
||||||
CDataStore::~CDataStore() {
|
CDataStore::~CDataStore() {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "common/datastore/CDataStore.hpp"
|
#include "common/datastore/CDataStore.hpp"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
|
|
||||||
template <size_t size>
|
template <size_t size>
|
||||||
class CDataStoreCache : public CDataStore {
|
class CDataStoreCache : public CDataStore {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#include "common/mempool/MemChunk.hpp"
|
#include "common/mempool/MemChunk.hpp"
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
|
|
||||||
struct MemBlock {
|
struct MemBlock {
|
||||||
void* next;
|
void* next;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "common/objectalloc/CObjectHeap.hpp"
|
#include "common/objectalloc/CObjectHeap.hpp"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
|
|
||||||
int32_t CObjectHeap::Allocate(uint32_t objSize, uint32_t heapObjects, const char* heapName) {
|
int32_t CObjectHeap::Allocate(uint32_t objSize, uint32_t heapObjects, const char* heapName) {
|
||||||
this->m_obj = SMemAlloc(heapObjects * (objSize + sizeof(uint32_t)), heapName, 0, 0x0);
|
this->m_obj = SMemAlloc(heapObjects * (objSize + sizeof(uint32_t)), heapName, 0, 0x0);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#include "common/string/CStringManager.hpp"
|
#include "common/string/CStringManager.hpp"
|
||||||
#include <climits>
|
#include <climits>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
#include <storm/String.hpp>
|
#include <storm/String.hpp>
|
||||||
|
|
||||||
CStringManager* CStringManager::s_stringManager;
|
CStringManager* CStringManager::s_stringManager;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "common/string/CStringMemory.hpp"
|
#include "common/string/CStringMemory.hpp"
|
||||||
#include <climits>
|
#include <climits>
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
#include <storm/String.hpp>
|
#include <storm/String.hpp>
|
||||||
|
|
||||||
void CStringMemory::AllocateBlock(size_t blockSize) {
|
void CStringMemory::AllocateBlock(size_t blockSize) {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include "common/time/Time.hpp"
|
#include "common/time/Time.hpp"
|
||||||
#include "common/time/win/TimeManager.hpp"
|
#include "common/time/win/TimeManager.hpp"
|
||||||
#include <storm/Memory.hpp>
|
#include <bc/Memory.hpp>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
|
|
@ -50,4 +50,4 @@ void OsSleep(uint32_t duration) {
|
||||||
Sleep(duration);
|
Sleep(duration);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue