mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
AK: Mark AK::IntrusiveList Non copyable and movable
This commit is contained in:
parent
deda32628a
commit
9a6e065b36
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <AK/Assertions.h>
|
||||
#include <AK/BitCast.h>
|
||||
#include <AK/Forward.h>
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/StdLibExtras.h>
|
||||
|
||||
namespace AK {
|
||||
|
@ -45,6 +46,9 @@ private:
|
|||
|
||||
template<class T, typename Container, IntrusiveListNode<T, Container> T::*member>
|
||||
class IntrusiveList {
|
||||
AK_MAKE_NONCOPYABLE(IntrusiveList);
|
||||
AK_MAKE_NONMOVABLE(IntrusiveList);
|
||||
|
||||
public:
|
||||
IntrusiveList() = default;
|
||||
~IntrusiveList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue