Fix checkfiles
This commit is contained in:
parent
2d980bb304
commit
2137ddc94c
|
|
@ -8,7 +8,6 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include "Vector3.hpp"
|
|
||||||
|
|
||||||
namespace Nz
|
namespace Nz
|
||||||
{
|
{
|
||||||
|
|
@ -1052,4 +1051,3 @@ namespace std
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -382,21 +382,6 @@ on_run(function ()
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
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 <Nazara/" .. debugIncludeModule .. "/DebugOff.hpp>")
|
|
||||||
table.insert(lines, "")
|
|
||||||
return lines
|
|
||||||
end
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -455,7 +440,7 @@ on_run(function ()
|
||||||
if inclusions[i].path == headerPath then
|
if inclusions[i].path == headerPath then
|
||||||
order = 0 -- own include comes first
|
order = 0 -- own include comes first
|
||||||
elseif inclusions[i].path == "NazaraUtils/Prerequisites.hpp" then
|
elseif inclusions[i].path == "NazaraUtils/Prerequisites.hpp" then
|
||||||
order = 6 -- debug include
|
order = 1 -- top engine includes
|
||||||
elseif inclusions[i].path:match("^NazaraUtils/") then
|
elseif inclusions[i].path:match("^NazaraUtils/") then
|
||||||
order = 2.1 -- NazaraUtils
|
order = 2.1 -- NazaraUtils
|
||||||
elseif inclusions[i].path:match("^Nazara/") then
|
elseif inclusions[i].path:match("^Nazara/") then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue