Skip to content

Commit 230fb10

Browse files
committed
🐧 Small fixes in prep for linux work
1 parent 1eaf4c3 commit 230fb10

7 files changed

Lines changed: 8 additions & 2 deletions

File tree

Modules/Dementia/Source/Core/SystemRegistry.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "SystemRegistry.h"
2+
#include <algorithm>
23

34
SystemRegistry::~SystemRegistry()
45
{

Modules/Dementia/Source/Events/EventManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "Events/EventReceiver.h"
33
#include "optick.h"
44
#include "Dementia.h"
5+
#include <algorithm>
56

67
EventManager::EventManager()
78
{

Modules/Dementia/Source/Utils/StringUtils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22
#include <string>
33
#include <memory>
4+
#include <algorithm>
45
#include "Dementia.h"
56

67
#if USING( ME_PLATFORM_WINDOWS )

Modules/Dementia/Source/Work/Job.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "Job.h"
2+
#include <cstring>
23

34
Job::Job( void( *jobFunction )( Job& ), Job* parent /*= nullptr*/ )
45
: JobFuntion { jobFunction }

Modules/Dementia/Source/Work/Job.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#include <atomic>
33
#include <new>
44
#include <array>
5+
#include <type_traits>
6+
#include <cstring>
57

68
class Job
79
{

Modules/Moonlight/Source/Graphics/ModelResource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ bool ModelResource::LoadMaterialTextures( SharedPtr<Moonlight::Material> newMate
474474
newMaterial->SetTexture( typeName, texture );
475475
return true;
476476
}
477-
YIKES_FMT( "OOPS NO TEXTURE???" );
477+
YIKES( "OOPS NO TEXTURE???" );
478478
}
479479
return false;
480480
}

Source/Components/Scripting/ScriptComponent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "Engine/Engine.h"
1616
#include "Components/UI/BasicUIView.h"
1717
#include "Scripting/MonoUtils.h"
18-
#include <Web\HttpDownload.h>
18+
#include <Web/HttpDownload.h>
1919
#include "File.h"
2020
#include "Utils/HavanaUtils.h"
2121
#include "Engine/World.h"

0 commit comments

Comments
 (0)