Explicit noncopyableness, static_assert.hpp --> util.hpp

This commit is contained in:
Pavel Kirienko
2014-02-09 21:28:10 +04:00
parent 56a69a4ba0
commit 017863a32d
7 changed files with 24 additions and 16 deletions
@@ -10,6 +10,7 @@
#include <algorithm>
#include <limits>
#include <stdint.h>
#include <uavcan/internal/util.hpp>
namespace uavcan
{
@@ -34,7 +35,7 @@ public:
template <int MAX_POOLS>
class PoolManager : public IAllocator
class PoolManager : public IAllocator, Noncopyable
{
IPoolAllocator* pools_[MAX_POOLS];
@@ -103,7 +104,7 @@ public:
template <std::size_t POOL_SIZE, std::size_t BLOCK_SIZE>
class PoolAllocator : public IPoolAllocator
class PoolAllocator : public IPoolAllocator, Noncopyable
{
union Node
{