Skip to content
Snippets Groups Projects
Commit edeb59a8 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

move logger array.h -> containers/Array.hpp

parent 939413fa
No related branches found
No related tags found
No related merge requests found
......@@ -47,9 +47,7 @@ class Array
typedef const TYPE *const_iterator;
public:
Array()
: _size(0), _overflow(false)
{}
Array() = default;
bool push_back(const TYPE &x)
{
......@@ -152,9 +150,9 @@ public:
}
private:
TYPE _items[N];
size_t _size;
bool _overflow;
TYPE _items[N] {};
size_t _size{0};
bool _overflow{false};
};
}
......@@ -35,7 +35,7 @@
#include "log_writer.h"
#include "messages.h"
#include "array.h"
#include <containers/Array.hpp>
#include "util.h"
#include <px4_defines.h>
#include <drivers/drv_hrt.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment