From ec0fad0d75d7c0a8fc6b0f9bf26e06ae68cf5afc Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 20 Jun 2018 16:26:54 +0200 Subject: [PATCH] WIP: Fixed a test issue with the PCellDeclarationHelper external class. --- src/lym/lym/lymMacro.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lym/lym/lymMacro.cc b/src/lym/lym/lymMacro.cc index 91373d24c..02d370f7c 100644 --- a/src/lym/lym/lymMacro.cc +++ b/src/lym/lym/lymMacro.cc @@ -844,6 +844,13 @@ public: return true; } + virtual bool can_upcast (const void *) const + { + // It does not make sense to upcast-check vs. an external class + // An external class is only provided as a stub. + return false; + } + private: std::string m_category; };