Move al::deque to a common header
parent
71e6bcbd62
commit
ac5d40e40a
|
@ -610,6 +610,7 @@ set(COMMON_OBJS
|
|||
common/albyte.h
|
||||
common/alcomplex.cpp
|
||||
common/alcomplex.h
|
||||
common/aldeque.h
|
||||
common/alfstream.cpp
|
||||
common/alfstream.h
|
||||
common/almalloc.cpp
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "AL/alc.h"
|
||||
|
||||
#include "alcontext.h"
|
||||
#include "aldeque.h"
|
||||
#include "almalloc.h"
|
||||
#include "alnumeric.h"
|
||||
#include "alu.h"
|
||||
|
@ -22,13 +23,6 @@
|
|||
struct ALbuffer;
|
||||
struct ALeffectslot;
|
||||
|
||||
namespace al {
|
||||
|
||||
template<typename T>
|
||||
using deque = std::deque<T, al::allocator<T>>;
|
||||
|
||||
} // namespace al
|
||||
|
||||
|
||||
#define DEFAULT_SENDS 2
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef ALDEQUE_H
|
||||
#define ALDEQUE_H
|
||||
|
||||
#include <deque>
|
||||
|
||||
#include "almalloc.h"
|
||||
|
||||
|
||||
namespace al {
|
||||
|
||||
template<typename T>
|
||||
using deque = std::deque<T, al::allocator<T>>;
|
||||
|
||||
} // namespace al
|
||||
|
||||
#endif /* ALDEQUE_H */
|
Loading…
Reference in New Issue