Browse Source

Moved List.hpp from controllib to src/include/containers.

sbg
James Goppert 11 years ago
parent
commit
da9dab2799
  1. 6
      src/include/containers/List.hpp
  2. 2
      src/modules/controllib/block/Block.hpp
  3. 2
      src/modules/controllib/block/BlockParam.hpp
  4. 2
      src/modules/uORB/Publication.hpp
  5. 2
      src/modules/uORB/Subscription.hpp

6
src/modules/controllib/block/List.hpp → src/include/containers/List.hpp

@ -32,9 +32,9 @@ @@ -32,9 +32,9 @@
****************************************************************************/
/**
* @file Node.h
* @file List.hpp
*
* A node of a linked list.
* A linked list.
*/
#pragma once
@ -43,7 +43,7 @@ template<class T> @@ -43,7 +43,7 @@ template<class T>
class __EXPORT ListNode
{
public:
ListNode() : _sibling(NULL) {
ListNode() : _sibling(nullptr) {
}
void setSibling(T sibling) { _sibling = sibling; }
T getSibling() { return _sibling; }

2
src/modules/controllib/block/Block.hpp

@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
#include <stdint.h>
#include <inttypes.h>
#include "List.hpp"
#include <containers/List.hpp>
// forward declaration
namespace uORB {

2
src/modules/controllib/block/BlockParam.hpp

@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
#include <systemlib/param/param.h>
#include "Block.hpp"
#include "List.hpp"
#include <containers/List.hpp>
namespace control
{

2
src/modules/uORB/Publication.hpp

@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
#pragma once
#include <uORB/uORB.h>
#include <controllib/block/List.hpp>
#include <containers/List.hpp>
namespace uORB

2
src/modules/uORB/Subscription.hpp

@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
#pragma once
#include <uORB/uORB.h>
#include <controllib/block/List.hpp>
#include <containers/List.hpp>
namespace uORB

Loading…
Cancel
Save