]> www.ginac.de Git - cln.git/blobdiff - src/base/proplist/cl_pl_add.cc
bump library version, since CLN doesn't export global object ctors any more.
[cln.git] / src / base / proplist / cl_pl_add.cc
index 3de5272acbf9d3759ca85227b63d066730d2b40c..47e88e66f7e5ccb7f99e75b7710ad1d2306adbad 100644 (file)
@@ -9,7 +9,7 @@
 
 // Implementation.
 
-#include "cln/abort.h"
+#include "cln/exception.h"
 
 namespace cln {
 
@@ -19,7 +19,7 @@ void cl_property::dummy () {}
 void cl_property_list::add_property (cl_property* new_property)
 {
        if (new_property->next)
-               cl_abort();
+               throw runtime_exception();
        new_property->next = list;
        list = new_property;
 }