Skip to content

Commit

Permalink
ListPtr->List DictPtr->Dict step 2 (pytorch#21937)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#21937

This changes call sites to use the new naming scheme

Reviewed By: zdevito

Differential Revision: D15892404

fbshipit-source-id: 8d32aa90a0ead1066688166478f299fde9c2c133
  • Loading branch information
smessmer authored and facebook-github-bot committed Jun 20, 2019
1 parent 093c78f commit 2750873
Show file tree
Hide file tree
Showing 31 changed files with 687 additions and 681 deletions.
2 changes: 2 additions & 0 deletions aten/src/ATen/core/Dict.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ template<class Key, class Value>
GenericDictPtr toGenericDict(DictPtr<Key, Value> dict) {
return GenericDictPtr(std::move(dict.impl_));
}

using GenericDict = GenericDictPtr;
}

template<class Key, class Value> using Dict = DictPtr<Key, Value>;
Expand Down
Loading

0 comments on commit 2750873

Please sign in to comment.