Guten Tag Rhys Ulerich, am Mittwoch, 12. Februar 2014 um 18:36 schrieben Sie:
> They are, so far as I can tell, the same thing under the covers per > Level::equals within level.cpp. I thought the problem may be different signatures and the order of operators used, if any: > virtual bool equals(const LevelPtr& level) const; vs. > inline bool operator==(const Level& level1) const vs. > virtual const LevelPtr& getEffectiveLevel() const; The test compares two "LevelPtr" and may not reduce rhs to "Level" to use the operator at all. This would have worked before because of the use of static in the functions creating the levels there would have only been one instance of the ERROR level and "==" would have successfully compared the pointers of those. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow