Node<>, SubNode<>: MemPoolSize defaults to zero

This commit is contained in:
Pavel Kirienko
2015-10-16 16:57:02 +03:00
parent 04381686bd
commit 4e4d9b7854
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ namespace uavcan
* Please refer to the documentation for details.
* If this value is zero, the constructor will accept a reference to user-provided allocator.
*/
template <std::size_t MemPoolSize>
template <std::size_t MemPoolSize = 0>
class UAVCAN_EXPORT Node : public INode
{
typedef typename
+1 -1
View File
@@ -20,7 +20,7 @@ namespace uavcan
* Please refer to the @ref Node<> for documentation concerning the template arguments; refer to the tutorials
* to lean how to use libuavcan in multiprocess applications.
*/
template <std::size_t MemPoolSize>
template <std::size_t MemPoolSize = 0>
class UAVCAN_EXPORT SubNode : public INode
{
typedef typename