Commit 62c92931 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED add space

parent 6ffa8e97
...@@ -49,7 +49,7 @@ Component::Component(const QString& file, const QString& n, Representation s) : ...@@ -49,7 +49,7 @@ Component::Component(const QString& file, const QString& n, Representation s) :
} }
Component::Component(Component* parentComponent, const QString& n, Representation s)noexcept(false) : myParentNode(parentComponent), myService(s), myName(n) { Component::Component(Component* parentComponent, const QString& n, Representation s) noexcept(false) : myParentNode(parentComponent), myService(s), myName(n) {
if (myParentNode == nullptr) { if (myParentNode == nullptr) {
throw AbortException(tr("Inconsistency: cannot instanciate a sub component with a null parent, please use the parent component pointer as the first parameter of the constructor or use the top-level Component constructor.").toStdString()); throw AbortException(tr("Inconsistency: cannot instanciate a sub component with a null parent, please use the parent component pointer as the first parameter of the constructor or use the top-level Component constructor.").toStdString());
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment