From f3f1ce7007a2744d1cec5d44af3b557235d35250 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Tue, 3 Aug 2004 19:18:28 +0000 Subject: [PATCH] removed bogus assertion (typeid(*this) in a basic constructor is always typeid(basic), see C++ standard section 12.7(4)) --- ginac/basic.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ginac/basic.cpp b/ginac/basic.cpp index 182191dc..e3ead415 100644 --- a/ginac/basic.cpp +++ b/ginac/basic.cpp @@ -57,7 +57,6 @@ GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(basic, void, * tinfo_key and the hash value. */ basic::basic(const basic & other) : tinfo_key(other.tinfo_key), flags(other.flags & ~status_flags::dynallocated), hashvalue(other.hashvalue) { - GINAC_ASSERT(typeid(*this) == typeid(other)); } /** basic assignment operator: the other object might be of a derived class. */ -- 2.49.0