Skip to content

Commit

Permalink
Merge pull request #352 from gidden/bufdep
Browse files Browse the repository at this point in the history
deprecate sink's use of resource buffer
  • Loading branch information
mbmcgarry committed May 13, 2015
2 parents 1a0ed16 + 663ef71 commit a9245ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sink.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Sink : public cyclus::Facility {
/// @param size the storage size
inline void SetMaxInventorySize(double size) {
max_inv_size = size;
inventory.set_capacity(size);
inventory.capacity(size);
}

/// @return the maximum inventory storage size
Expand Down Expand Up @@ -127,7 +127,7 @@ class Sink : public cyclus::Facility {

/// this facility holds material in storage.
#pragma cyclus var {'capacity': 'max_inv_size'}
cyclus::toolkit::ResourceBuff inventory;
cyclus::toolkit::ResBuf<cyclus::Resource> inventory;
};

} // namespace cycamore
Expand Down

0 comments on commit a9245ae

Please sign in to comment.