Skip to content

Commit

Permalink
[clib] Eliminate SharedCabinet::item
Browse files Browse the repository at this point in the history
Replaced by SharedCabinet::at
  • Loading branch information
ischoegl authored and speth committed Aug 19, 2024
1 parent 74c971d commit d04ec3e
Show file tree
Hide file tree
Showing 8 changed files with 419 additions and 426 deletions.
7 changes: 0 additions & 7 deletions src/clib/Cabinet.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,6 @@ class SharedCabinet
throw CanteraError("SharedCabinet::as", "Item is not of the correct type.");
}

/**
* Return a reference to object n.
*/
static M& item(int n) {
return *at(n);
}

/**
* Return a reference to object n, cast to a reference of the specified type.
*/
Expand Down
Loading

0 comments on commit d04ec3e

Please sign in to comment.