From a8da814c194124cf9c392f14b557ad7bd1c24b6d Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Tue, 28 Sep 2021 22:51:06 +0200 Subject: [PATCH] remove debug output --- libsrc/core/register_archive.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libsrc/core/register_archive.hpp b/libsrc/core/register_archive.hpp index f2a05072..93221cd6 100644 --- a/libsrc/core/register_archive.hpp +++ b/libsrc/core/register_archive.hpp @@ -29,10 +29,7 @@ namespace ngcore { #ifdef NETGEN_PYTHON info.anyToPyCaster = [](const std::any& a) { - std::cout << "call anytopycast on " << Demangle(a.type().name()) << std::endl; const T* val = std::any_cast(&a); - if(!val) - throw Exception("Incorrect type in any object!"); return pybind11::cast(val); }; #endif // NETGEN_PYTHON Archive::SetArchiveRegister(std::string(Demangle(typeid(T).name())),info);