We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d70928e commit 813dcdeCopy full SHA for 813dcde
nestkernel/connection.h
@@ -45,6 +45,8 @@
45
#include "dictutils.h"
46
#include "doubledatum.h"
47
48
+#include <cstdlib>
49
+
50
namespace nest
51
{
52
@@ -134,7 +136,7 @@ class Connection
134
136
* To prevent erronous calls of this function on primary connections, the base class implementation
135
137
* below just contains `assert(false)`.
138
*/
- SecondaryEvent* get_secondary_event();
139
+ [[noreturn]] SecondaryEvent* get_secondary_event();
140
141
/**
142
* Get all properties of this connection and put them into a dictionary.
@@ -401,6 +403,7 @@ SecondaryEvent*
401
403
Connection< targetidentifierT >::get_secondary_event()
402
404
405
assert( false );
406
+ std::abort();
407
}
408
409
} // namespace nest
0 commit comments