better include guards

This commit is contained in:
Robin Müller 2020-05-20 14:40:50 +02:00
parent e576ddaa86
commit 71e103e2b6
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#ifndef LOCALPOOL_TPP #ifndef FRAMEWORK_STORAGEMANAGER_LOCALPOOL_H_
#define LOCALPOOL_TPP #define FRAMEWORK_STORAGEMANAGER_LOCALPOOL_H_
template<uint8_t NUMBER_OF_POOLS> template<uint8_t NUMBER_OF_POOLS>
inline LocalPool<NUMBER_OF_POOLS>::LocalPool(object_id_t setObjectId, inline LocalPool<NUMBER_OF_POOLS>::LocalPool(object_id_t setObjectId,

View File

@ -1,3 +1,6 @@
#ifndef FRAMEWORK_STORAGEMANAGER_POOLMANAGER_TPP_
#define FRAMEWORK_STORAGEMANAGER_POOLMANAGER_TPP_
template<uint8_t NUMBER_OF_POOLS> template<uint8_t NUMBER_OF_POOLS>
inline PoolManager<NUMBER_OF_POOLS>::PoolManager(object_id_t setObjectId, inline PoolManager<NUMBER_OF_POOLS>::PoolManager(object_id_t setObjectId,
const uint16_t element_sizes[NUMBER_OF_POOLS], const uint16_t element_sizes[NUMBER_OF_POOLS],
@ -48,3 +51,5 @@ inline ReturnValue_t PoolManager<NUMBER_OF_POOLS>::modifyData(
packet_ptr, size); packet_ptr, size);
return status; return status;
} }
#endif