mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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 (!p)
|
||||
return (*this) << -2;
|
||||
void* reg_ptr = static_cast<void*>(p);
|
||||
auto reg_ptr = static_cast<void*>(p);
|
||||
if(typeid(T) != typeid(*p))
|
||||
{
|
||||
if(!IsRegistered(Demangle(typeid(*p).name())))
|
||||
|
Loading…
Reference in New Issue
Block a user