mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 21:30:35 +05:00
fix auto use
This commit is contained in:
parent
08275457c7
commit
fe2a5b382d
@ -336,7 +336,7 @@ namespace ngcore
|
|||||||
// if the pointer is null store -2
|
// if the pointer is null store -2
|
||||||
if (!p)
|
if (!p)
|
||||||
return (*this) << -2;
|
return (*this) << -2;
|
||||||
void* reg_ptr = static_cast<void*>(p);
|
auto reg_ptr = static_cast<void*>(p);
|
||||||
if(typeid(T) != typeid(*p))
|
if(typeid(T) != typeid(*p))
|
||||||
{
|
{
|
||||||
if(!IsRegistered(Demangle(typeid(*p).name())))
|
if(!IsRegistered(Demangle(typeid(*p).name())))
|
||||||
|
Loading…
Reference in New Issue
Block a user