mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:48:11 +00:00
Revert "Kernel: Move Singleton class to AK"
This reverts commit f0906250a1
.
This commit is contained in:
parent
b0a24a83be
commit
8925ad3fa0
31 changed files with 71 additions and 87 deletions
|
@ -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 = AK::make_singleton<HashMap<u32, Device*>>();
|
||||
static auto s_all_devices = make_singleton<HashMap<u32, Device*>>();
|
||||
|
||||
HashMap<u32, Device*>& Device::all_devices()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue