Skip to content

Commit

Permalink
Use <ctring> header file instead of <string.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
kwbm authored and hyv1001 committed Apr 7, 2022
1 parent 0c352c2 commit 120e589
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion engine/source/runtime/core/math/matrix3.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "runtime/core/math/quaternion.h"
#include "runtime/core/math/vector3.h"

#include <string.h>
#include <cstring>

// NB All code adapted from Wild Magic 0.2 Matrix math (free source code)
// http://www.geometrictools.com/
Expand Down
2 changes: 0 additions & 2 deletions engine/source/runtime/core/math/matrix4.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#include "runtime/core/math/vector3.h"
#include "runtime/core/math/vector4.h"

#include <string.h>

namespace Pilot
{
/** Class encapsulating a standard 4x4 homogeneous matrix.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#include <iostream>
#include <set>
#include <stdexcept>
#include <string.h>
#include <cstring>
#include <string>

void Pilot::PVulkanContext::initialize(GLFWwindow* window)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "runtime/function/render/include/render/vulkan_manager/vulkan_manager.h"
#include <string.h>
#include <cstring>

void Pilot::PVulkanManager::updateMeshData(bool enable_vertex_blending,
uint32_t index_buffer_size,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <glm/gtx/matrix_decompose.hpp>

#include <string.h>
#include <cstring>

namespace Pilot
{
Expand Down

0 comments on commit 120e589

Please sign in to comment.