Skip to content
Snippets Groups Projects
Commit 14530f63 authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

Add RICH messaging pointer assert checks

parent 35280bbe
No related branches found
No related tags found
1 merge request!3061Update RICH decoding for realistic cable maps from the pit
......@@ -191,7 +191,10 @@ namespace Rich::Future::DAQ {
private:
/// Define the messenger entity
inline auto messenger() const noexcept { return m_parent; }
inline auto messenger() const noexcept {
assert( m_parent );
return m_parent;
}
private:
// data
......
......@@ -190,7 +190,10 @@ namespace Rich::Future::DAQ {
private:
/// Define the messenger entity
inline auto messenger() const noexcept { return m_parent; }
inline auto messenger() const noexcept {
assert( m_parent );
return m_parent;
}
private:
// data
......
......@@ -236,7 +236,10 @@ namespace Rich::Future::DAQ {
private:
/// Define the messenger entity
inline auto messenger() const noexcept { return m_parent; }
inline auto messenger() const noexcept {
assert( m_parent );
return m_parent;
}
private:
// data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment