diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-01 11:14:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-05 12:42:46 +0200 |
commit | b6307f73a2e263b098149353006dd30f6d499527 (patch) | |
tree | f849292fe50a6add521cf1d302848605d7288436 /AK/StdLibExtras.h | |
parent | e6871c1af779015bca4c24f38622b34322a036f2 (diff) | |
download | serenity-b6307f73a2e263b098149353006dd30f6d499527.zip |
AK: Suppress -Wunqualified-std-cast-call in the CLion IDE
Diffstat (limited to 'AK/StdLibExtras.h')
-rw-r--r-- | AK/StdLibExtras.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/AK/StdLibExtras.h b/AK/StdLibExtras.h index c9b64f0b26..dbe872470d 100644 --- a/AK/StdLibExtras.h +++ b/AK/StdLibExtras.h @@ -1,11 +1,15 @@ /* - * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2018-2022, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once +#if defined(__clang__) || defined(__CLION_IDE__) +# pragma clang diagnostic ignored "-Wunqualified-std-cast-call" +#endif + #include <AK/StdLibExtraDetails.h> #include <AK/Assertions.h> |