Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CamiTK
CamiTK Community Edition
Commits
62c92931
Commit
62c92931
authored
Jul 09, 2018
by
Emmanuel Promayon
Browse files
FIXED add space
parent
6ffa8e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
sdk/libraries/core/component/Component.cpp
View file @
62c92931
...
...
@@ -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
)
{
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
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment