diff --git a/include/blt/profiling/profiler.h b/include/blt/profiling/profiler.h index d408882..6952aa2 100644 --- a/include/blt/profiling/profiler.h +++ b/include/blt/profiling/profiler.h @@ -9,6 +9,7 @@ #include #include +#include namespace BLT { struct CapturePoint { @@ -20,11 +21,14 @@ namespace BLT { CapturePoint end; }; - template class Profiler { private: - MAP_TYPE intervals; - MAP_TYPE points; + std::map* intervals; + std::map* points; + public: + Profiler(std::map* test) { + intervals = test; + } }; } diff --git a/include/blt/std/queues.h b/include/blt/std/queues.h index 33ba7c2..988c443 100644 --- a/include/blt/std/queues.h +++ b/include/blt/std/queues.h @@ -7,6 +7,9 @@ #ifndef BLT_QUEUES_H #define BLT_QUEUES_H +/** + * Do no use any queue in this file. They are slower than std::queue. + */ namespace BLT { template