Move al::deque to a common header
This commit is contained in:
parent
71e6bcbd62
commit
ac5d40e40a
@ -610,6 +610,7 @@ set(COMMON_OBJS
|
|||||||
common/albyte.h
|
common/albyte.h
|
||||||
common/alcomplex.cpp
|
common/alcomplex.cpp
|
||||||
common/alcomplex.h
|
common/alcomplex.h
|
||||||
|
common/aldeque.h
|
||||||
common/alfstream.cpp
|
common/alfstream.cpp
|
||||||
common/alfstream.h
|
common/alfstream.h
|
||||||
common/almalloc.cpp
|
common/almalloc.cpp
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include "AL/alc.h"
|
#include "AL/alc.h"
|
||||||
|
|
||||||
#include "alcontext.h"
|
#include "alcontext.h"
|
||||||
|
#include "aldeque.h"
|
||||||
#include "almalloc.h"
|
#include "almalloc.h"
|
||||||
#include "alnumeric.h"
|
#include "alnumeric.h"
|
||||||
#include "alu.h"
|
#include "alu.h"
|
||||||
@ -22,13 +23,6 @@
|
|||||||
struct ALbuffer;
|
struct ALbuffer;
|
||||||
struct ALeffectslot;
|
struct ALeffectslot;
|
||||||
|
|
||||||
namespace al {
|
|
||||||
|
|
||||||
template<typename T>
|
|
||||||
using deque = std::deque<T, al::allocator<T>>;
|
|
||||||
|
|
||||||
} // namespace al
|
|
||||||
|
|
||||||
|
|
||||||
#define DEFAULT_SENDS 2
|
#define DEFAULT_SENDS 2
|
||||||
|
|
||||||
|
16
common/aldeque.h
Normal file
16
common/aldeque.h
Normal file
@ -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…
x
Reference in New Issue
Block a user