refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build
This commit is contained in:
parent
06a608d244
commit
02a05fbd4c
200 changed files with 522 additions and 581 deletions
|
|
@ -19,8 +19,6 @@
|
|||
#define MPSCQueue_h__
|
||||
|
||||
#include <atomic>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
namespace Acore::Impl
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,11 +18,8 @@
|
|||
#ifndef _PCQ_H
|
||||
#define _PCQ_H
|
||||
|
||||
#include <atomic>
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
#include <type_traits>
|
||||
|
||||
template <typename T>
|
||||
class ProducerConsumerQueue
|
||||
|
|
@ -51,7 +48,7 @@ public:
|
|||
return _queue.empty();
|
||||
}
|
||||
|
||||
[[nodiscard]] size_t Size() const
|
||||
[[nodiscard]] std::size_t Size() const
|
||||
{
|
||||
return _queue.size();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "Define.h"
|
||||
|
||||
namespace Acore
|
||||
{
|
||||
template<typename MUTEX>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue