Skip to content

Commit 578589f

Browse files
committed
fixed cland/gcc compile error
1 parent 98ff22f commit 578589f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ReflectionTemplateLib/access/inc/RObject.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ namespace rtl
199199
if (m_objectId.m_clonerId.has_value())
200200
{
201201
const detail::FunctorId& functorId = m_objectId.m_clonerId.value();
202-
return traits::Cloner::template forwardCall(functorId, *this, alloc::Heap);
202+
return traits::Cloner::forwardCall(functorId, *this, alloc::Heap);
203203
}
204204
return { error::CloningDisabled, RObject{} };
205205
}
@@ -211,7 +211,7 @@ namespace rtl
211211
if (m_objectId.m_clonerId.has_value())
212212
{
213213
const detail::FunctorId& functorId = m_objectId.m_clonerId.value();
214-
return traits::Cloner::template forwardCall(functorId, *this, alloc::Stack);
214+
return traits::Cloner::forwardCall(functorId, *this, alloc::Stack);
215215
}
216216
return { error::CloningDisabled, RObject{} };
217217
}

ReflectionTemplateLib/detail/inc/TypeId.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ namespace rtl {
102102

103103
static void get(std::vector<std::size_t>& pIds)
104104
{
105-
if constexpr (std::is_same_v<TAIL::HEAD, std::nullptr_t>)
105+
if constexpr (std::is_same_v<typename TAIL::HEAD, std::nullptr_t>)
106106
{
107107
pIds.push_back(TypeId<HEAD>::get());
108108
}

0 commit comments

Comments
 (0)