Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: base/bind_internal.h

Issue 2797133002: Replace base::get with std::get (Closed)
Patch Set: +styleguide Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/tuple.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/bind_internal.h
diff --git a/base/bind_internal.h b/base/bind_internal.h
index 8988bdca226de1b1bf7777c8be58f637cb2ec850..c8af87d5806cd2504208008b62908d44dedcb817 100644
--- a/base/bind_internal.h
+++ b/base/bind_internal.h
@@ -360,7 +360,7 @@ struct Invoker<StorageType, R(UnboundArgs...)> {
return InvokeHelper<is_weak_call, R>::MakeItSo(
std::forward<Functor>(functor),
- Unwrap(base::get<indices>(std::forward<BoundArgsTuple>(bound)))...,
+ Unwrap(std::get<indices>(std::forward<BoundArgsTuple>(bound)))...,
std::forward<UnboundArgs>(unbound_args)...);
}
};
@@ -393,7 +393,7 @@ bool ApplyCancellationTraitsImpl(const Functor& functor,
const BoundArgsTuple& bound_args,
IndexSequence<indices...>) {
return CallbackCancellationTraits<Functor, BoundArgsTuple>::IsCancelled(
- functor, base::get<indices>(bound_args)...);
+ functor, std::get<indices>(bound_args)...);
}
// Relays |base| to corresponding CallbackCancellationTraits<>::Run(). Returns
« no previous file with comments | « no previous file | base/tuple.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698