mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibCrypto: Exclude class_name() methods from the Kernel
These are only used by Userland and contain infallible String allocations, so let's just ifdef them out of the Kernel.
This commit is contained in:
parent
6959e7f778
commit
c8db8d6152
Notes:
sideshowbarker
2024-07-17 18:40:56 +09:00
Author: https://github.com/IdanHo
Commit: c8db8d6152
Pull-request: https://github.com/SerenityOS/serenity/pull/12564
Reviewed-by: https://github.com/MaxWipfli
16 changed files with 119 additions and 21 deletions
|
@ -51,7 +51,9 @@ public:
|
|||
|
||||
virtual void reset() = 0;
|
||||
|
||||
#ifndef KERNEL
|
||||
virtual String class_name() const = 0;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual ~HashFunction() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue