Minor fixes

This commit is contained in:
SirLynix
2023-11-12 12:51:56 +01:00
parent 2ff2cd4a9c
commit 86e26008b3
10 changed files with 7 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
#include <NazaraUtils/Prerequisites.hpp>
#include <Nazara/Core/Config.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/TypeTraits.hpp>
#include <string>
#ifdef NAZARA_COMPILER_MSVC

View File

@@ -9,7 +9,6 @@
#include <NazaraUtils/Prerequisites.hpp>
#include <Nazara/Core/Unicode.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/FunctionRef.hpp>
#include <string>

View File

@@ -7,7 +7,7 @@
namespace Nz
{
template<typename T, typename ...Args>
template<typename T, typename... Args>
RenderElementOwner ElementRendererRegistry::AllocateElement(Args&&... args)
{
ElementRenderer& elementRenderer = GetElementRenderer(SafeCast<std::size_t>(T::ElementType));

View File

@@ -9,7 +9,6 @@
#include <NazaraUtils/Prerequisites.hpp>
#include <Nazara/Graphics/FramePipelinePass.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <functional>
#include <list>
#include <string>

View File

@@ -8,7 +8,6 @@
#define NAZARA_GRAPHICS_MATERIALPASSREGISTRY_HPP
#include <NazaraUtils/Prerequisites.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <list>
#include <string>
#include <unordered_map>

View File

@@ -2,7 +2,7 @@
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/TypeTraits.hpp>
#include <stdexcept>
#include <Nazara/Graphics/Debug.hpp>

View File

@@ -6,7 +6,7 @@
namespace Nz
{
template<typename ...Args>
template<typename... Args>
Window& AppWindowingComponent::CreateWindow(Args&&... args)
{
return *m_windows.emplace_back(std::make_unique<Window>(std::forward<Args>(args)...));