Skip to content
Snippets Groups Projects
Commit 020fcea1 authored by Marco Biasini's avatar Marco Biasini
Browse files

silence warning about unhandled switch cases

parent 4270b88a
No related branches found
No related tags found
No related merge requests found
...@@ -316,8 +316,7 @@ void AtomImpl::DeleteConnector(const ConnectorImplP& conn, ...@@ -316,8 +316,7 @@ void AtomImpl::DeleteConnector(const ConnectorImplP& conn,
int AtomImpl::GetIntProperty(Prop::ID prop_id) const int AtomImpl::GetIntProperty(Prop::ID prop_id) const
{ {
switch (prop_id) { if (prop_id==Prop::AINDEX) {
case Prop::AINDEX:
return index_; return index_;
} }
throw PropertyError(prop_id); throw PropertyError(prop_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment