Skip to content
Snippets Groups Projects
Commit fb156fdb authored by olivier stasse's avatar olivier stasse
Browse files

Improved coding style.

parent c53164e3
Branches
Tags
No related merge requests found
......@@ -83,8 +83,8 @@ namespace dynamicgraph
FeatureAbstract* ref;
std::string name; iss >> name;
if( name.length())
{ ref = &dynamicgraph::sot::PoolStorage::getInstance()->getFeature(name); }
else { ref = NULL; }
ref = &dynamicgraph::sot::PoolStorage::getInstance()->getFeature(name);
else ref = 0;
return ref;
}
......
......@@ -65,6 +65,3 @@ namespace dynamicgraph {
} /* ! namespace sot */
} /* ! namespace dynamicgraph */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment