diff options
Diffstat (limited to 'absl/utility')
-rw-r--r-- | absl/utility/utility.h | 6 | ||||
-rw-r--r-- | absl/utility/utility_test.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/absl/utility/utility.h b/absl/utility/utility.h index 104ec82939d6..741b1f818105 100644 --- a/absl/utility/utility.h +++ b/absl/utility/utility.h @@ -238,14 +238,14 @@ auto apply_helper(Functor&& functor, Tuple&& t, index_sequence<Indexes...>) // public: // void Bar(int); // }; -// void user_function1(int, string); +// void user_function1(int, std::string); // void user_function2(std::unique_ptr<Foo>); // auto user_lambda = [](int, int) {}; // // int main() // { -// std::tuple<int, string> tuple1(42, "bar"); -// // Invokes the first user function on int, string. +// std::tuple<int, std::string> tuple1(42, "bar"); +// // Invokes the first user function on int, std::string. // absl::apply(&user_function1, tuple1); // // std::tuple<std::unique_ptr<Foo>> tuple2(absl::make_unique<Foo>()); diff --git a/absl/utility/utility_test.cc b/absl/utility/utility_test.cc index 3c447b20bb04..7f425fc7b731 100644 --- a/absl/utility/utility_test.cc +++ b/absl/utility/utility_test.cc @@ -135,7 +135,7 @@ struct PoorStrCat { template <typename Tup, size_t... Is> std::vector<std::string> TupStringVecImpl(const Tup& tup, - absl::index_sequence<Is...>) { + absl::index_sequence<Is...>) { return {Fmt(std::get<Is>(tup))...}; } |