Skip to content
Snippets Groups Projects
Commit 5a1c8c87 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Test + return value

parent 73f3ee2f
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,7 @@ std::shared_ptr<ISampleBuilder> SampleBuilderNode::builder() const ...@@ -85,7 +85,7 @@ std::shared_ptr<ISampleBuilder> SampleBuilderNode::builder() const
SampleBuilderNode::operator bool() const SampleBuilderNode::operator bool() const
{ {
return m_sample_builder.get() != nullptr; return (bool)m_sample_builder;
} }
//! Fill local parameter pool with parameters from sample builder. //! Fill local parameter pool with parameters from sample builder.
......
...@@ -160,5 +160,5 @@ int main() ...@@ -160,5 +160,5 @@ int main()
std::cout << report() << std::endl; std::cout << report() << std::endl;
return 0; return !success;
} }
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