Replace base::get with std::get
base::get is no longer needed after the linux sysroot update. The new
sysroot has libstdc++-4.8, that has rvalue reference support of
std::tuple.
Review-Url: https://codereview.chromium.org/2797133002
Cr-Commit-Position: refs/heads/master@{#462229}
CrOS-Libchrome-Original-Commit: f7c47573b7686c59723f3b7da6d69f1ec494f23b
diff --git a/base/bind_internal.h b/base/bind_internal.h
index 8988bdc..c8af87d 100644
--- a/base/bind_internal.h
+++ b/base/bind_internal.h
@@ -360,7 +360,7 @@
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 @@
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