AK: Delete the Badge copy and move constructors.

This commit is contained in:
Andreas Kling 2019-06-11 23:47:51 -07:00
parent c4d24bb4e9
commit e673bb921e
Notes: sideshowbarker 2024-07-19 13:39:11 +09:00

View File

@ -1,7 +1,20 @@
#pragma once
namespace AK {
template<typename T>
class Badge {
friend T;
Badge() {}
Badge(const Badge&) = delete;
Badge& operator=(const Badge&) = delete;
Badge(Badge&&) = delete;
Badge& operator=(Badge&&) = delete;
};
}
using AK::Badge;