- fixed includes

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@876 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-05-24 20:10:47 +00:00
parent 509c16a46f
commit d3033dccfc
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -2,8 +2,9 @@
#define __PROCESSOR_BUFFER_HPP__
#include <stddef.h>
#include <math.h>
#include <string>
#include <exception>
#include <algorithm>
#ifdef PROCESSOR_BUFFER_USE_EXCEPTIONS
#define RETURN_OR_EXCEPT(code) throw Buffer::Exception(code)
+2
View File
@@ -1,3 +1,5 @@
#include <cstdio>
template<typename T>
Buffer<T>::Buffer(size_t capacity)
: m_capacity(capacity)