Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Add missing inline.
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Zientkiewicz <[email protected]>
  • Loading branch information
mzient committed Aug 30, 2021
1 parent b67565f commit 863f11a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cuda/memory_resource
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 863f11a

Please sign in to comment.