From 2137ddc94c07f73e21d89124daef1a2afdb96131 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Fri, 23 Feb 2024 22:53:36 +0100 Subject: [PATCH] Fix checkfiles --- include/Nazara/Math/Vector3.inl | 2 -- xmake/actions/checkfiles.lua | 17 +---------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/include/Nazara/Math/Vector3.inl b/include/Nazara/Math/Vector3.inl index 317cc94ef..d5650674c 100644 --- a/include/Nazara/Math/Vector3.inl +++ b/include/Nazara/Math/Vector3.inl @@ -8,7 +8,6 @@ #include #include #include -#include "Vector3.hpp" namespace Nz { @@ -1052,4 +1051,3 @@ namespace std } }; } - diff --git a/xmake/actions/checkfiles.lua b/xmake/actions/checkfiles.lua index 3c927b4a4..e3bd92efc 100644 --- a/xmake/actions/checkfiles.lua +++ b/xmake/actions/checkfiles.lua @@ -382,21 +382,6 @@ on_run(function () end }) end - - if isInl then - if not debugIncludeOff then - print(filePath .. ": has missing DebugOff include") - table.insert(fixes, { - File = filePath, - Func = function (lines) - table.insert(lines, "") - table.insert(lines, "#include ") - table.insert(lines, "") - return lines - end - }) - end - end end end end @@ -455,7 +440,7 @@ on_run(function () if inclusions[i].path == headerPath then order = 0 -- own include comes first elseif inclusions[i].path == "NazaraUtils/Prerequisites.hpp" then - order = 6 -- debug include + order = 1 -- top engine includes elseif inclusions[i].path:match("^NazaraUtils/") then order = 2.1 -- NazaraUtils elseif inclusions[i].path:match("^Nazara/") then