Skip to content
Snippets Groups Projects
Commit a090e3d7 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

added an assertion to create a better error message in case the instance of Application is missing

parent 499b2dfd
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@
namespace ChimeraTK {
ApplicationModule::ApplicationModule() {
assert(&(Application::getInstance()) != nullptr);
Application::getInstance().registerModule(*this);
}
......
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