Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unneeded string copy construction in StringIdMap (#8843)
Summary: A variable of type `std::string_view` can be directly assigned to a variable of type `std::string`. There is no need to construct a temporary variable first and then assign the value. The latter will cause a redundant copy construction. No functional changes. Pull Request resolved: #8843 Reviewed By: kagamiori Differential Revision: D54129489 Pulled By: Yuhta fbshipit-source-id: 0288aa208ab4e4553087d13bc2d2b3f8d1d7d75c
- Loading branch information