mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-05 05:14:12 +02:00
Added drain
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef SF_DAQ_BUFFER_TYPEMAP_HPP
|
||||
#define SF_DAQ_BUFFER_TYPEMAP_HPP
|
||||
|
||||
#include <typeindex>
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
@@ -27,7 +28,7 @@ struct Type{
|
||||
};
|
||||
|
||||
|
||||
const std::unordered_map<std::type_index, Type> TypeTable = {
|
||||
const std::unordered_map<std::type_index, TypeMap> TypeTable = {
|
||||
{ typeid(void), {sizeof(void), TypeMap::VOID} },
|
||||
{ typeid(char), {sizeof(char), TypeMap::CHAR} },
|
||||
{ typeid(int8_t), {sizeof(int8_t), TypeMap::INT8} },
|
||||
|
||||
Reference in New Issue
Block a user