Skip to content

Commit

Permalink
resolving compilation errors on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Feb 28, 2020
1 parent 3695afd commit d4e2554
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions octree/include/pcl/octree/octree_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
#pragma once

#include <vector>

#include <cassert>
#include <cstddef>

#include <pcl/pcl_macros.h>
Expand Down
4 changes: 3 additions & 1 deletion octree/include/pcl/octree/octree_key.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@

#pragma once

#include <cstring>

namespace pcl
{
namespace octree
Expand Down Expand Up @@ -66,7 +68,7 @@ namespace pcl
/** \brief Copy constructor. */
OctreeKey (const OctreeKey& source)
{
memcpy(key_, source.key_, sizeof(key_));
std::memcpy(key_, source.key_, sizeof(key_));
}

OctreeKey& operator=(const OctreeKey&) = default;
Expand Down

0 comments on commit d4e2554

Please sign in to comment.