mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
Kernel: Move Singleton class to AK
This commit is contained in:
parent
0e69ebbce4
commit
f0906250a1
31 changed files with 87 additions and 71 deletions
|
@ -24,6 +24,7 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <AK/Singleton.h>
|
||||
#include <Kernel/ACPI/Parser.h>
|
||||
#include <Kernel/CommandLine.h>
|
||||
#include <Kernel/Scheduler.h>
|
||||
|
@ -32,7 +33,6 @@
|
|||
#include <Kernel/Time/HardwareTimer.h>
|
||||
#include <Kernel/Time/PIT.h>
|
||||
#include <Kernel/Time/RTC.h>
|
||||
#include <Kernel/Singleton.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
#include <Kernel/VM/MemoryManager.h>
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static auto s_the = make_singleton<TimeManagement>();
|
||||
static auto s_the = AK::make_singleton<TimeManagement>();
|
||||
|
||||
TimeManagement& TimeManagement::the()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue