Skip to content

Commit

Permalink
Use the same return type
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Jan 17, 2020
1 parent ade0c98 commit 8cffcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lib/gprpp/optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Optional {
Optional() : value_() {}

template <typename... Args>
void emplace(Args&&... args) {
T& emplace(Args&&... args) {
value_ = T(std::forward<Args>(args)...);
set_ = true;
}
Expand Down

0 comments on commit 8cffcae

Please sign in to comment.