1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +00:00

Kernel: Move Singleton class to AK

This commit is contained in:
Tom 2020-08-21 09:36:51 -06:00 committed by Andreas Kling
parent 0e69ebbce4
commit f0906250a1
31 changed files with 87 additions and 71 deletions

View file

@ -24,14 +24,14 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <AK/Singleton.h>
#include <Kernel/Devices/Device.h>
#include <Kernel/FileSystem/InodeMetadata.h>
#include <Kernel/Singleton.h>
#include <LibC/errno_numbers.h>
namespace Kernel {
static auto s_all_devices = make_singleton<HashMap<u32, Device*>>();
static auto s_all_devices = AK::make_singleton<HashMap<u32, Device*>>();
HashMap<u32, Device*>& Device::all_devices()
{