]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1888] remove demangle for back compat with boost Kea-1.9.8
authorAndrei Pavel <andrei@isc.org>
Mon, 24 May 2021 06:39:12 +0000 (09:39 +0300)
committerAndrei Pavel <andrei@isc.org>
Mon, 24 May 2021 09:57:24 +0000 (09:57 +0000)
src/lib/eval/tests/context_unittest.cc

index 927890552314e8e9d6c3412cb1ae5ec89fe3a15e..9d2844ae32cf67d536f0c0f249846266770de783 100644 (file)
@@ -513,9 +513,7 @@ public:
                 n = static_cast<IntegerType>(boost::lexical_cast<uint32_t>(expected));
             }
         } catch (const boost::bad_lexical_cast& e) {
-            FAIL() << "invalid value " << expected << " while expecting "
-                   << boost::core::demangle(typeid(n).name()) << " error: "
-                   << e.what();
+            FAIL() << "invalid value " << expected << ", error: " << e.what();
         }
 
         values.push(std::string(const_cast<const char*>(reinterpret_cast<char*>(&n)), sizeof(IntegerType)));