mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
AK: Don't include AK::demangle() in KERNEL builds
This was not used anywhere in the kernel anyway.
This commit is contained in:
parent
83dd93ff13
commit
1c2aa7396d
1 changed files with 7 additions and 3 deletions
|
@ -6,9 +6,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <cxxabi.h>
|
||||
#ifndef KERNEL
|
||||
|
||||
# include <AK/String.h>
|
||||
# include <AK/StringView.h>
|
||||
# include <cxxabi.h>
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
@ -25,3 +27,5 @@ inline String demangle(StringView name)
|
|||
}
|
||||
|
||||
using AK::demangle;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue