diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-17 00:06:11 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-03 23:52:23 +0000 |
commit | d26aabff0401690d6dd1332558b40f5cb64e4428 (patch) | |
tree | fd56d0ab5b672814a1a2fb7b8a92fefb01f24e6f /Kernel/Random.h | |
parent | 8639d8bc212dcb45aff80405b4b0f6b1ef1087e7 (diff) | |
download | serenity-d26aabff0401690d6dd1332558b40f5cb64e4428.zip |
Everywhere: Run clang-format
Diffstat (limited to 'Kernel/Random.h')
-rw-r--r-- | Kernel/Random.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Random.h b/Kernel/Random.h index 1fd2b0e3d7..b5cb9f087d 100644 --- a/Kernel/Random.h +++ b/Kernel/Random.h @@ -62,7 +62,7 @@ public: } template<typename T> - void add_random_event(const T& event_data, size_t pool) + void add_random_event(T const& event_data, size_t pool) { pool %= pool_count; if (pool == 0) { @@ -159,7 +159,7 @@ public: } template<typename T> - void add_random_event(const T& event_data) + void add_random_event(T const& event_data) { auto& kernel_rng = KernelRng::the(); SpinlockLocker lock(kernel_rng.get_lock()); |