Fix build
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "Engine/Core/Delegate.h"
|
||||
#include "Engine/Core/Types/String.h"
|
||||
#include "Engine/Core/Types/DateTime.h"
|
||||
#include "Engine/Core/Collections/Array.h"
|
||||
#include "Engine/Platform/CriticalSection.h"
|
||||
#include "Engine/Serialization/FileReadStream.h"
|
||||
#include "Engine/Threading/ThreadLocal.h"
|
||||
|
||||
@@ -143,9 +143,11 @@ Delegate<Scene*, const Guid&> Level::SceneLoaded;
|
||||
Delegate<Scene*, const Guid&> Level::SceneLoadError;
|
||||
Delegate<Scene*, const Guid&> Level::SceneUnloading;
|
||||
Delegate<Scene*, const Guid&> Level::SceneUnloaded;
|
||||
#if USE_EDITOR
|
||||
Action Level::ScriptsReloadStart;
|
||||
Action Level::ScriptsReload;
|
||||
Action Level::ScriptsReloadEnd;
|
||||
#endif
|
||||
Array<String> Level::Tags;
|
||||
String Level::Layers[32];
|
||||
|
||||
|
||||
@@ -154,24 +154,6 @@ public:
|
||||
WriteBytes((const void*)text, sizeof(Char) * length);
|
||||
}
|
||||
|
||||
template<typename... Args>
|
||||
void WriteTextFormatted(const char* format, const Args& ... args)
|
||||
{
|
||||
fmt_flax::allocator_ansi allocator;
|
||||
fmt_flax::memory_buffer_ansi buffer(allocator);
|
||||
fmt_flax::format(buffer, format, args...);
|
||||
WriteText(buffer.data(), (int32)buffer.size());
|
||||
}
|
||||
|
||||
template<typename... Args>
|
||||
void WriteTextFormatted(const Char* format, const Args& ... args)
|
||||
{
|
||||
fmt_flax::allocator allocator;
|
||||
fmt_flax::memory_buffer buffer(allocator);
|
||||
fmt_flax::format(buffer, format, args...);
|
||||
WriteText(buffer.data(), (int32)buffer.size());
|
||||
}
|
||||
|
||||
// Write UTF BOM character sequence
|
||||
void WriteBOM()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user