From 863f11a16cced8b7aacfc639dacb419843a300e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zientkiewicz?= Date: Mon, 30 Aug 2021 17:19:45 +0200 Subject: [PATCH] Add missing inline. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MichaƂ Zientkiewicz --- include/cuda/memory_resource | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cuda/memory_resource b/include/cuda/memory_resource index 61226b55f0..c34989a6b1 100644 --- a/include/cuda/memory_resource +++ b/include/cuda/memory_resource @@ -90,8 +90,8 @@ const ::std::type_info *__get_typeid() { #endif } -bool __compare_type(const ::std::type_info *__ti1, const void *__fallback_ti1, - const ::std::type_info *__ti2, const void *__fallback_ti2) { +inline bool __compare_type(const ::std::type_info *__ti1, const void *__fallback_ti1, + const ::std::type_info *__ti2, const void *__fallback_ti2) { #ifdef _LIBCUDACXX_EXT_RTTI_ENABLED if (__ti1 && __ti2 && *__ti1 == *__ti2) return true;